Skip to content

Generate FFI bindings for Zig using GObject Introspection

License

Notifications You must be signed in to change notification settings

paveloom-z/zig-gir-ffi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notices

Mirrors

Repository:

Prerequisites

Make sure you have installed:

  • Development libraries for
    • gobject-introspection
    • libxml2
  • Zig (v0.10.1)
  • Zigmod

Alternatively, you can use the Nix flake via nix develop.

Build

First, fetch the dependencies by running zigmod fetch.

To build the binary, run zig build. To run it, run zig build run.

See zig build --help for more build options.

Related

Similar projects:

About

Generate FFI bindings for Zig using GObject Introspection

Topics

Resources

License

Stars

Watchers

Forks