-
Notifications
You must be signed in to change notification settings - Fork 43
FFI Design
Ilya Sher edited this page Dec 22, 2018
·
5 revisions
- Support FFI calls
- Must be cross-platform ready
-
FFI
namespace for generic/base FFI functionality -
FFI::libffi
namespace for thelibffi
library - As with other NGS components, the amount of C code that deals with FFI should be minimal, as much as possible should be in NGS.
-
libffi
does not cover Windows - Errors handling / exceptions
- How to import constants from libraries? Are they only mentioned in
*.h
files?
NGS official website is at https://ngs-lang.org/