Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Add loader for dynamic libraries #4

Open
playXE opened this issue Mar 4, 2020 · 0 comments
Open

Add loader for dynamic libraries #4

playXE opened this issue Mar 4, 2020 · 0 comments

Comments

@playXE
Copy link
Member

playXE commented Mar 4, 2020

This will allow FFI with almost every language that compiles to machine code.

Loader should be used like this:

var lib = Dynlib.load("libmy_library.so")
var foo = lib.findFunction("sum",["int",["int","int"]])
foo(1,2)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant