Hello,
I'm trying to use the gstreamer-controller bindings but they don't seem to
map correctly to the underlying C api. Now the vapi file says it's generated
by vapigen , do not modify. So how to get this fixed without the fixes being
overwritten by vapigen in the future?
On Mon, Jul 19, 2010 at 2:54 PM, Shawn Ferris shawn.fer...@gmail.comwrote:
So how to get this fixed without the fixes being overwritten by vapigen in
the future
You can use metadata to knudge vapigen to generate correct bindings.
True. That will only work if you know what the correct
Hi,
Vala 0.9.3
I am having trouble compiling my program and I am not sure why.
This is what I am getting:
valac test.vala -C --pkg=test --vapidir=.
gcc test.c -c -I/LibGLib2:glib-2.0 -I. -o test.o
test.c: In function 'test_class_init':
test.c:131: error: 'TEST_NS_TYPE_TEST_TYPE' undeclared
Hello everybody,
Does anybody on the list have bindings for clutter, cogl, cally
1.3.8? I haven't had much luck generating them myself (newbie).
Thank you,
Dio.-
___
vala-list mailing list
vala-list@gnome.org
On Mon, Jul 19, 2010 at 11:54:22PM +0200, Jan-Jaap van der Geer wrote:
namespace TestNS
{
[CCode (cname = testtype, cheader_filename = test.h)]
public struct TestType : uint { }
}
Try adding has_type_id = false to the CCode
--
http://www.debian.org - The Universal Operating System
On Mon, Jul 19, 2010 at 11:54:22PM +0200, Jan-Jaap van der Geer wrote:
namespace TestNS
{
[CCode (cname = testtype, cheader_filename = test.h)]
public struct TestType : uint { }
}
You might want to add [SimpleType] and [IntegerType], look at glib-2.0.vapi
for binding integers.
--
Harry Van Haaren píše v Po 19. 07. 2010 v 21:45 +0100:
Hey All,
I had this working before, but due to Hard disk issues I lost the .vapi.
Currently I have a vapi that will create the right types, initialize the
object (and destroy it),
but I cant figure the read function out anymore:
// sf_count_tsf_read_float(SNDFILE *sndfile, float *ptr,
sf_count_t items) ;
[CCode (cname=sf_read_float)]
public static count_t read_float(float *array,count_t
numSamples);
You don't want that to be a static method. Static means it doesn't work
with an