sylveon / member_thunk

Dynamically creates executable code to allow C callbacks to call C++ member functions without the need for a user data parameter
MIT License
13 stars 2 forks source link

Make sure first argument is trivial #15

Closed sylveon closed 4 years ago

sylveon commented 4 years ago

Wouldn't want to suppress any special C++ behaviors related to constructors or destructors. (does it even have the same ABI with a pointer-sized struct? might need is_scalar instead)