Hi people,

We are encountering a problem when matching EO properties to C# properties,
since the C# ones cannot have a return value.

We mostly use return values in EO property setters to indicate error
conditions and this is pretty easily matched to C# by throwing an
exception. We just need to know WHEN a returned bool from a setter really
means ERROR and when it is not.
Currently, all property setters in our tree returning a bool use it to
indicate an error, so it is just a matter of we all agreeing that in the
future this will always be the case (and documenting it).
If we agree on this, then the C# bindings can start throwing exceptions on
setters returning FALSE (there's a patch ready, but I cannot access it
right now).

If nobody has anything against it, I'll land this patch in a week (October
28th).

Thanks!
Xavi

_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to