Commit Graph

7 Commits

Author SHA1 Message Date
Edwin Brady
1616879c3e Some FFI documentation
Explaining how to write the most basic Idris bindings for readline,
taking account of how to allocate Strings in the completion callback.
Also adds the basic API as a sample, which can be used as a starting
point for other packages containing C bindings.
2020-03-03 23:23:49 +00:00
Edwin Brady
6023889115 Note on String in FFI docs 2020-03-03 17:39:13 +00:00
Edwin Brady
526c5f7d3a Add missing bit of example in ffi docs 2020-03-02 15:30:50 +00:00
Edwin Brady
21a7b46ca1 More FFI doc typos 2020-03-02 14:54:27 +00:00
Edwin Brady
ea7e8c38f6 Fix ffi text 2020-03-02 14:49:28 +00:00
Edwin Brady
2893e6f9e8 Initial FFI documentation 2020-03-02 14:29:26 +00:00
Edwin Brady
a5c356f998 Basic support for struct in FFI
Just in the Chez backend for now, and not allowing strings or functions
due to limitations of Chez.
2020-03-01 23:23:21 +00:00