Re: Wrappers

new topic     » topic index » view thread      » older message » newer message

stab master wrote:

> typedef struct tagName
> {
> char a;
> short b;
> unsigned int c;
> }Name;

My program would parse that into:

-- Name
global constant
   Name_a   = allocate( Char ),
   Name_b   = allocate( Short ),
   Name_c   = allocate( UShort )
   SIZEOF_NAME = allocated()

As you suggested, it uses the structure name to prefix the field name.

-- David Cuny

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu