Skip to content

load1n9/ffigen

 
 

Repository files navigation

ffigen

C header binding generator for modern JS environments. It works in combination with c2ffi.

Usage

deno install jsr:@divy/ffigen

Install c2ffi

$ c2ffi ./include/Xlib.h | ffigen -l libXlib.so

$ deno run --allow-ffi ./Xlib.ts

Sample logs:

image

About

C FFI generator for Deno

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 61.7%
  • TypeScript 38.0%
  • Other 0.3%