[Vala] Binding typedef'd pointers.



I'm currently working on bindings for the gpgme library, and have a
question while working on them.  Many of the structures are defined like
this:

 struct _private_name {
   ...
 };
 
 typedef struct _private_name *public_name_t;

Now, as far as binding these for Vala goes, this means that Vala
shouldn't emit code that makes these names into pointers, because they
are already pointers.  Does that mean that _private_name is what should
be bound to, not the public_name_t?

        --- Mike

-- 
Blog:  http://mike.trausch.us/blog/
Misc. Software:  http://mike.trausch.us/software/

“The greater danger for most of us lies not in setting our aim too
high and falling short; but in setting our aim too low, and achieving
our mark.” —Michelangelo



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]