enzo - Eduardo Garcia wrote:
when im run #gapi2-parser sources/planner.sources.xml

this command tranforms the enum in this code:

               Readwrite = MRP_STORAGE_READABLE |MRP_STORAGE_WRITABLE,
SupportsAll = MRP_STORAGE_SUPPORTS_TASK |MRP_STORAGE_SUPPORTS_RESOURCE |MRP_STORAGE_SUPPORTS_PRIMARY,

The questions is, is real error or bug or i is this a bad programming way?

Neither really. You can do arbitrarily complex things in your source code, and there's no way gapi can handle all of them. But handling this case seems like a good idea, so you could file a bug suggesting it should do that.

Until then, you can fix your generated code by adding rules to your .metadata file, like this rule from gdk.metadata:

<attr path="/api/namespace/[EMAIL PROTECTED]'GdkModifierType']/[EMAIL PROTECTED]'ModifierMask']" name="value">ReleaseMask | 0x1fff</attr>

-- Dan
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to