gee-0.8 : problem with Map.Entry and generated code
Please see joined code.
- Create custom object with some properties and/or methods
- Create custom Gee.Map.Entry where key and value are custom object.
- Create another custom object (here, a "list") where in one of his method, you call custom entry, and then call property or method of first custom object.
if all classes are in one file, compilation succeeds. But if you set one class per file, the C generated code for second custom object doesn't contain structs and definitions of first custom object, and compilation gives this type of error :
pairs.c:159:5: error: unknown type name ‘MyObject’; did you mean ‘GObject’?
NOTE : add "dummy" line with call to MyObject fix the problem ...
Edited by Yannick Inizan