On Thu, Dec 13, 2018 at 4:45 PM Alan Braslau <braslau.l...@comcast.net> wrote:
> Of course, it is: > > double jn(int n,double x); > > and > > vardef jn(expr n, x) = scantokens(lua("mp.quoted( ffi.C.jn(" & decimal n & > "," & decimal x & "))")) enddef ; > > Alan > > (shows that I have yet to use jn ;-) > I often use this as reference source/texk/web2c/luatexdir/luaffi/test.lua -- luigi
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________