Re: [Vala] Vapi generation problem

Am Donnerstag, den 17.12.2009, 18:54 +0100 schrieb Nicolas:

I try to use a non glib-library, and i have a problem generating the 
vapi file.

On my header i have:
typedef struct my_instance my_instance;

In my vapi file, i wrote:
public struct my_instance {}

When i use this structure (test_instance), vala generate this:
my_instance test_instance;

But i need this:
my_instance *test_instance;

There is a way to say to vala to generate the second one ?
If you always need a pointer, you can use

class my_instance {}

Julian Andres Klode  - Debian Developer, Ubuntu Member

See and

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