edubart / nelua-decl

C binding generator for Nelua using GCC Lua plugin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

raylib extras

CrezyDud opened this issue · comments

thanks for this, could you include pre-made raylib extras?
https://github.com/raysan5/raylib/tree/master/src/extras
pls

i don't know how to generate a .lua plugin thingy
and manual would hurt

i tried it, something is wrong tho

make test
nelua raylib-test.nelua
raylib-test.nelua:1:1: from: AST node Block
require '.raylibe'
^~~~~~~~~~~~~~~~~~
/home/me/dev/nelua-decl/libs/raylib/raylibe.nelua:1:1: from: AST node Block
##[[
^~~~
/home/me/dev/nelua-decl/libs/raylib/raylibe.nelua:1279:37: error: undeclared symbol '_AddressInformation'
global AddressInformation: type = @*_AddressInformation
                                    ^~~~~~~~~~~~~~~~~~~

make: *** [Makefile:25: test] Error 1

pls me

make test
nelua raylib-test.nelua
raylib-test.nelua:1:1: from: AST node Block
require '.raylibe'
^~~~~~~~~~~~~~~~~~
/home/me/dev/nelua-decl/libs/raylib/raylibe.nelua:1:1: from: AST node Block
##[[
^~~~
/home/me/dev/nelua-decl/libs/raylib/raylibe.nelua:1279:37: error: undeclared symbol '_AddressInformation'
global AddressInformation: type = @*_AddressInformation
                                    ^~~~~~~~~~~~~~~~~~~

make: *** [Makefile:25: test] Error 1

pls me

As the error says, the symbol _AddressInformation is not imported, you should edit raylib.lua file to allow importing them.

thanks, but how do i do that?

typedef struct _AddressInformation *AddressInformation;
is in the .h file