[luatex] FFI

Patrick Gundlach patrick at gundla.ch
Sun Apr 23 19:44:02 CEST 2017


A follow-up to my message.

This also happens with plain luajittex:

--------------------
\directlua{
  ffi = require('ffi')
  ffi.cdef("")
}

\bye
--------------------

$ luajittex test
This is LuajitTeX, Version 0.95.0 (TeX Live 2016) 
 restricted system commands enabled.
(./test.tex)
warning  (pdf backend): no pages of output.
Transcript written on test.log.

=> OK

$ luajittex test
This is LuajitTeX, Version 1.0.4 (TeX Live 2017) 
 restricted system commands enabled.
(./test.tex[\directlua]:1: attempt to call field 'cdef' (a nil value)
stack traceback:
	[\directlua]:1: in main chunk.
l.4 }
   
=> broken?


(macOS Sierra)

Patrick




More information about the luatex mailing list