[squeak-dev] FFI structs

Annick Fron list at afceurope.com
Wed Oct 29 10:59:08 UTC 2014

I I have a C struct with a char*

struct result {
	char* time }

I define an ExternalStructure in FFI , with one field of type char* (note that the syntax char [5] is not accepted ! ).

defineFields generates the accessors time and time:

If I use 
time: ’05:45’

I get an error.
How do I set a string value in an ExternalStructure ?


More information about the Squeak-dev mailing list