| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 |
Luajit
The contents of this directory provides support for using Allegro5 from Luajit.
Usage
To create a Luajit FFI desciption we use the prototypes scraped using the checkdocs.py script.
# output a file protos.txt
./python/checkdocs.py -p protos.txt -b build/
# use the prototypes to create Luajit datatypes for Allegro5
./contrib/luajit/generate_luajit_ffi.py -p protos.txt -o al5_ffi.lua
See the Luajit docs on how to use this file.