Hello everyone,
I'm new to Pharo and have tried do example with structure in Unified FFI manual.
FFIExternalStructure subclass: #MyStructure
instanceVariableNames: ''
classVariableNames: ''
package: 'FFIDemo'
MyStructure class>>#fieldsDesc
^ #(
uint8 id;
char * struct_name;
uint name_length;
)
MyStructure rebuildFieldAccessors . -> DoIt -> MessageNotUnderstood
What's i do wrong?
I do it in
Pharo5 and 6, widows and os x.
Sorry for my english, it's not my native language.