Ethereal-dev: Re: [Ethereal-dev] ethereal_gen.py & enum problem

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Bernd Becker <bb@xxxxxxxxxxxxxxx>
Date: Tue, 30 Apr 2002 10:02:38 +0200
Hi Mika,

--On Tue, April 30, 2002 10:11:49 +0300 mika.ju.korpela@xxxxxxxxx wrote:
...
module TestModule
{
  struct Upper_struct
  {
    Enum_type_t          Enum_field;

Wouldn't it be more correct to use
  struct Upper_struct
  {
    Enum_type_e          Enum_field;
              ^
???
If you use the type defined by typedef in your IDL I am sure the
generated code will be correct and use Enum_type_e. Maybe that
will help you for now.
Frank Singleton (the author of the code generator) will surely
look into this though.

Regards,
Bernd