👨💻 about me home CV/Resume News 🖊️ Contact Codeberg Github LinkedIn 🏆 Best of LuaX (tools) pub bang ypp panda lsvg ldc yreq Fizzbuzz Calculadoira TPG picfg Belenos (intro) 🔀 Git Repos
Made in Europe
lcpp uses cpp to preprocess C header files
and extract #define'd constants.
lcpp = require "lcpp"
constants = lcpp.include("foo.h", {"inc"})
for name, val in pairs(constants) do
print(name, val)
endThe include function takes two parameters:
and returns a table with all the constants defined in the main header file.
make testThis site is powered by LuaX, bang, ypp, cdsoft.css and Pandoc.
Mirrors: cdelord.fr – christophe.delord.free.fr – cdsoft.codeberg.page