lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Johnson Lin wrote:
> I might be mistaken, but I still saw a few "NYI: unsupported C
> function type" and then followed by a "fall back to interpreter" when
> using -jv. You might want to check my lua code in the last post, it's
> at line 379. I'm pretty sure glColor3f and glVertex3f are both with
> void result, just checked the OpenGL documentation, so it should've
> worked, I dunno why it didn't :p

Ah, now I get it: you're using 32 bit Windows? Sadly, opengl32.dll
uses __stdcall on Win32 and these kind of C functions cannot be
called from compiled code, yet (they work in the interpreter of
course). Not sure when I'll get around to implement this.

--Mike