Hello,
I need to make a binding for a library for the next hypotetical function:
int library_function (Data x);
Data is an structure, for example:
typedef struct Data
{
int value1;
int value2;
};
In a vapi file i put this lines (the structure is also in the vapi):
namespace Library
{
[CCode (cname = "library_function")
public int function(Data x);
}
valac gives in the c source:
library_function(&x);
I want to know how to implement this because i need in the c source:
library_funcion(x);
i hope that someone can help me
Matias
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list