alien icon indicating copy to clipboard operation
alien copied to clipboard

A C FFI for Lua

Results 26 alien issues
Sort by recently updated
recently updated
newest added

Good morning, Fabio. I am trying to use Alien 0.7 but I have several difficulties: 1. There is no any DDL . I see that there is alien_c.dll with Alien...

Added an autoconf option to detect a markdown preprocessor, right now it searchs for `markdown` or `pandoc`. MARKDOWN_PROG variable is added to configure

Example: > SMsgError = alien.defstruct{ > {"cmdLen", "ulong"}, > {"cmd", "ulong"}, > {"deviceType","byte"}, > {"deviceNo","byte"}, > {"errNo","short"}, > {"errStr", "char",256}, > {"errType","byte"} > } > Note the optional third element...

Hi, I'm doing af alien ffi wrapper for some library. The library have a nasty habit of returning structs - like this: struct version_info { int major; int minor; int...

alien.callback seem to be ignoring the parameter type info and always passing 0 parameters to the Lua calback function. I'm unsure how to fix this.

C function interface EXPORT(int) getSPAMREF(void **ptr) handling by alien f:types("int", "ref pointer") Loot at test_alien.lua for completed test.