[Pharo-project] FFI - passing string to function as char*
April 29, 2012
1:24 a.m.
I believe I have a solution of sorts, use a void* ptr for the argument type and create a method to use to nul-teminate any smalltalk strings passed as arguments. It seems to work ok, unless anyone can spot any problems with such an approach. Thanks
5206
Age (days ago)
5206
Last active (days ago)
0 comments
1 participants
participants (1)
-
recursive68@gmail.com