Sérgio Gomes wrote:
Hi Dimuthu,

I'm developing the patch right now (I'm now able to generate the enum
declaration) and I found that I have two options to proceed:

1 - Add specialized getters/setters for enumerations, while keeping
the base type as a string. They would be named something like
adb_<property>_get_<property>_enum and
adb_<property>_set_<property>_enum. I'd have to do the conversion
between the C enum struct and the stored string within the function
(basically with a big if/else chain). This solution would preserve
backwards compatibility and wouldn't require any changes to the java
code, just XSL changes.

Do you mean to say you are changing the style sheets used by the code generator.

Samisa...


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to