function handle numbering

new topic     » topic index » view thread      » older message » newer message

Hi

If I'm linking to some functions in a shared library, what does the nembering
start at, is it 0 or 1.

eg
x = define_c_proc(shared_lib_handle, "Function that doesn't exist", {arguments}
)
x = -1, error

y = define_c_proc(shared_lib_handle, "Function that does exist", {arguments} )
y = 0
is this valid - is this a real handle?

next in line define
z = define_c_proc(shared_lib_handle, "another Function that does exist",
{arguments} )
z = 1
this looks like a valid handele - is it?

Chris

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu