Idris2-boot/samples/FFI-readline/readline.ipkg
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

11 lines
186 B
Plaintext

package readline
sourcedir = "src"
modules = Text.Readline
prebuild = "make -C readline_glue"
postinstall = "make -C readline_glue install"
postclean = "make -C readline_glue clean"