comp.lang.ada
 help / color / mirror / Atom feed
* C binding issue
@ 2003-05-10 20:30 kat-Zygfryd
  2003-05-10 22:46 ` David Holm
  2003-05-11 22:40 ` Antonio Vargas
  0 siblings, 2 replies; 9+ messages in thread
From: kat-Zygfryd @ 2003-05-10 20:30 UTC (permalink / raw)


I want to write a binding for Lua 5.0
but I encountered a problem:

in lua.h we have this definition:

typedef const char * (*lua_Chunkreader) (lua_State *L, void *ud, size_t
*sz);

question:
how do I define such a callback in Ada, so that I could set
the value of *sz from within it.

Zygfryd





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-05-11 22:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-10 20:30 C binding issue kat-Zygfryd
2003-05-10 22:46 ` David Holm
2003-05-10 23:09   ` kat-Zygfryd
2003-05-11  2:12     ` David C. Hoos
2003-05-11  2:44       ` Jeffrey Carter
2003-05-11 15:02   ` Sergey Koshcheyev
2003-05-11 16:27     ` kat-Zygfryd
2003-05-11 19:01     ` David C. Hoos
2003-05-11 22:40 ` Antonio Vargas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox