[Vala] Binding typedef'd pointers.
- From: "Michael B. Trausch" <mbt zest trausch us>
- To: vala-list gnome org
- Subject: [Vala] Binding typedef'd pointers.
- Date: Sat, 19 Sep 2009 11:08:36 -0400
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]