I have written a GObject class that has the following property:
[...]
private uint8[] _thumbnail;
[...]
public uint8[] thumbnail {
get { return _thumbnail; }
set { _thumbnail = value; }
}
[...]
When I run my application, I see:
(lt-dpapview:13731): GLib-GObject-WARNING **: g_obje
> How does vala-gen-introspect differentiate between a basic struct and
> an object? I am trying to generate a Vala API file for an object, but
> vala-gen-introspect is classifying it as a struct:
>
>
>
>
>
>
>
>
How does vala-gen-introspect differentiate between a basic struct and
an object? I am trying to generate a Vala API file for an object, but
vala-gen-introspect is classifying it as a struct:
Is it possible to use vapigen to produce a Vala API file that contains two
or more top-level namespaces (and associated symbols for each)? I can't
find an example of someone doing this. Vala allows multiple namespaces
in one file and even nested namespaces. What if a C GObject-based library
contain
Is there a GINT_TO_POINTER-like capability in Vala? Or, if I need
something like this does it mean I am not trying to solve a problem in
a Vala way? In C, I often use this macro to place integers into GLib
datatypes like GHashTable.
--
Mike
:wq
___
val
I am having trouble with Vala and a GHashTable-style foreach. I have
created a Vala API for my library, which defines an interface with a
GHashTable-style foreach method. Vapigen / my Vala API file defines
this as:
public abstract void @foreach(GLib.HFunc func, void *data)
When I define a method
I am trying to figure out how to generate a Vala API file for
libdmapsharing, http://www.flyn.org/projects/libdmapsharing/. This
library may be used to create DAAP and DPAP servers and clients. I have
read the document at http://live.gnome.org/Vala/Bindings.
I am using vala-0.10.0 and have tried t