Re: [Vala] Converting library by hand
- From: Nicolas <c r n a wanadoo fr>
- To: vala-list gnome org, mfpuente ar gmail com, hansfbaier googlemail com, sam liddicott com
- Subject: Re: [Vala] Converting library by hand
- Date: Sat, 16 May 2009 14:20:17 +0200
Hi,
Thank you very much to answer me !
Ok, i will try to port this library by hand.
So can you give me an example to convert some kind of code for vapi file.
First:
typedef enum de_crossover_t
{
GA_DE_CROSSOVER_UNKNOWN = 0,
GA_DE_CROSSOVER_BINOMIAL = 1,
GA_DE_CROSSOVER_EXPONENTIAL = 2
} ga_de_crossover_type;
Second:
GAULFUNC population *ga_population_new( const int stable_size,
const int num_chromosome,
const int len_chromosome);
Third:
GAULFUNC boolean ga_seed_boolean_random(population *pop, entity *adam);
Thank you in advance.
Nicolas.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]