[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT FFI only bindings for glfw, OpenCL, OpenGL
- From: David Given <dg@...>
- Date: Wed, 26 Jan 2011 14:30:03 +0000
On 26/01/11 13:05, Mike Pall wrote:
[...]
> Neither should be a problem for the LuaJIT FFI. The import stubs
> are not needed and __stdcall is automatically detected. So just
> omit any calling convention in the declaration and the FFI will
> figure it out for you.
Gosh --- how?
(I once wasted several days because my OpenGL headers said stdcall when
the library I was linking against had been compiled with ccall --- Bada,
curses curses. A reliable way of making this problem going away would be
great. [I didn't get link errors because this is all via dynamically
generated code.])
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ }
│ --- Conway's Game Of Life, in one line of APL
Attachment:
signature.asc
Description: OpenPGP digital signature
- References:
- LuaJIT FFI only bindings for glfw, OpenCL, OpenGL, malkia
- Re: LuaJIT FFI only bindings for glfw, OpenCL, OpenGL, CrazyButcher
- Re: LuaJIT FFI only bindings for glfw, OpenCL, OpenGL, Henk Boom
- Re: LuaJIT FFI only bindings for glfw, OpenCL, OpenGL, David Given
- Re: LuaJIT FFI only bindings for glfw, OpenCL, OpenGL, Mike Pall