[Vala] Problem converting library
- From: Nicolas <c r n a wanadoo fr>
- To: vala-list gnome org
- Subject: [Vala] Problem converting library
- Date: Fri, 15 May 2009 20:12:38 +0200
Hi,
I'm trying to port a non Glib library, and i have some problems.
For example, when vala-gen-introspect try to convert this:
GAULFUNC population *ga_genesis_integer( const int
population_size,
const int num_chromo,
const int len_chromo,
GAgeneration_hook generation_hook, (!!!
this is the line 507 !!!)
GAiteration_hook iteration_hook,
GAdata_destructor data_destructor,
GAdata_ref_incrementor data_ref_incrementor,
GAevaluate evaluate,
GAseed seed,
GAadapt adapt,
GAselect_one select_one,
GAselect_two select_two,
GAmutate mutate,
GAcrossover crossover,
GAreplace replace,
vpointer userdata );
It return:
/usr/local/include/gaul.h:507: syntax error, unexpected identifier
/usr/local/include/gaul.h:509: syntax error, unexpected typedef-name,
expecting identifier or '(' or '*'
/usr/local/include/gaul.h:510: syntax error, unexpected identifier,
expecting ',' or ';'
/usr/local/include/gaul.h:512: syntax error, unexpected typedef-name,
expecting identifier or '(' or '*'
/usr/local/include/gaul.h:513: syntax error, unexpected typedef-name,
expecting identifier or '(' or '*'
/usr/local/include/gaul.h:514: syntax error, unexpected typedef-name,
expecting identifier or '(' or '*'
/usr/local/include/gaul.h:515: syntax error, unexpected typedef-name,
expecting identifier or '(' or '*'
/usr/local/include/gaul.h:516: syntax error, unexpected typedef-name,
expecting identifier or '(' or '*'
/usr/local/include/gaul.h:517: syntax error, unexpected typedef-name,
expecting identifier or '(' or '*'
/usr/local/include/gaul.h:518: syntax error, unexpected typedef-name,
expecting identifier or '(' or '*'
Do you know what can i do to resolve this problem ?
Thanks in advance to everyone who can help me.
Nicolas.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]