1
0
forked from cheng/wallet
wallet/docs/setup/contributor_code_of_conduct.md
reaction.la fe3015b851
Finally figured out how to do callbacks for my async
Can make callbacks that can access the full lambda
machinery, while the same machinery is still usable
in C and from C, and thus in rust and lua, and from
rust and lua.

modified:   docs/libraries/cpp_automatic_memory_management.md

The magic univeral lowest denominator C code, which can be used by
and make use of, higher level language constructs such as
lambdas, being

(**p)(p, ptrEvent);

Where p points at or into a blob that contains a pointer to
C calling convention code that knows how the blob is structured.
allowing us to structure it arbitarily, apart from information
that the event dispatcher needs to know.
2024-07-04 08:18:48 +08:00

15 KiB