1. Arguments to C Routines Must be Atoms
- Posted by cklester <cklester at yahoo.com> Jul 05, 2004
- 572 views
Where do I start to try and fix this error? :/ -=ck "Programming in a state of EUPHORIA."
2. Re: Arguments to C Routines Must be Atoms
- Posted by Derek Parnell <ddparnell at bigpond.com> Jul 05, 2004
- 583 views
cklester wrote: > > Where do I start to try and fix this error? :/ It sounds like you are trying to pass a sequence to a C routine. If the C routine needs a 'string' it usually means that it needs the address of a string that is stored in RAM. So instead of ... c_proc(theProc, "my string data") try ... atom X X = allocate_string("my string data") c_proc(theProc, {X}) free(X) -- Derek Parnell Melbourne, Australia
3. Re: Arguments to C Routines Must be Atoms
- Posted by cklester <cklester at yahoo.com> Jul 05, 2004
- 581 views
Derek Parnell wrote: > > cklester wrote: > > > > Where do I start to try and fix this error? :/ > > It sounds like you are trying to pass a sequence to a C routine. > > -- > Derek Parnell > Melbourne, Australia Yeah, that was it. Thanks, Derek! :) -=ck "Programming in a state of EUPHORIA."