• Yorick Peterse's avatar
    Add a Foreign Function Interface for C code · 26f535fe
    Yorick Peterse authored
    This commit adds support for a basic Foreign Function Interface to C.
    This interface allows Inko code to dynamically load C libraries, obtain
    pointers to variables, and call functions. Data types are automatically
    converted whenever possible. Passing arbitrary Inko objects to C is not
    possible, as otherwise the garbage collector could release memory of
    objects still in use by C code.
    26f535fe
setup_symbol_tables.rb 2.58 KB