SciRuby / rubex

rubex - A Ruby-like language for writing Ruby C extensions.
BSD 2-Clause "Simplified" License
451 stars 21 forks source link

Ability to create C APIs for gems #19

Closed v0dro closed 6 years ago

v0dro commented 7 years ago

This will be similar to a C header file that will allow other gems using Rubex to easily access C API-level functions using Rubex.

The file should (probably) have extension .rubexh (for rubex header). And should store publicly available functions from the Rubex extension of a gem for use in other gems. This will make it easy for gems to make use of C level APIs of a particular gem.

v0dro commented 6 years ago

This should be possible with the recently implemented multi-file functionality.