Skip to content
#

ffi-wrapper

Here are 32 public repositories matching this topic...

Zubnix
Zubnix commented Sep 4, 2017

The docs mention how to define a js function and use it as a C function pointer. How would one go the other way around?

I imagine this to be trivial as the lib already does this when searching for library symbols (which are just function pointers), and giving them the appropriate calling meta information. Yet I haven't found anything easily usable in the code.

ionut-arm
ionut-arm commented Mar 23, 2020

Most fields denoting sizes (e.g. of keys) are marked as usize at the moment. To make it less ambiguous, the ones representing sizes in bits should be set to u16, u32 or other types unrelated to word size on current platform (as the size itself is not related to the memory of the platform)

Improve this page

Add a description, image, and links to the ffi-wrapper topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ffi-wrapper topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.