Re: [Vala] Purple.CoreUiOps




Shouldn't compact class install a default constructor when no 
constructor was provided by user?

I don't think so, because it's only a VAPI wrapper.
But if it so bugging you, you can decelerate new methods(and I think that also
constructs) in the binding.

Besides, what's the difference between compact class and struct when 
wrapping non-gobject C lib? Should we always use public struct when 
wrapping C structs?

The different is from Vala side- structs are threaded(unless using
pointers-struct*) as by value variables, and compact(and non-compact)
classes threaded as by reference(pointers in C) variables.

Yours,
Tal
                                          


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