Hello,
I'm trying to use a c library in genie and i have a question about
converting code.
This is the c code who makes me crazy !
The struct:
typedef struct _Widget_Data Widget_Data;
struct _Widget_Data
{
Object *myboject
};
Now in the function:
Widget_Data *wd;
wd =
Im not sure what you mean - are you using or porting the code in the c
library?
If you are using a c library in Genie/vala then you need to create a
vapi file for it
if you are porting a c library to genie/vala then you dont need to
specify ELM_NEW as construction is done for you :
var wd = new
Hi Jamie,
Thanks for your response.
I'm trying to create the vapi for the Elementary library from E17 (only
widget creation part, the rest is already done).
I have another question, how to do this:
How can i pass my struct Widget_Data to void* data ?
elm_widget_data_set(Evas_Object *obj,
Nicolas c.r@wanadoo.fr writes:
Hi Jamie,
Thanks for your response.
I'm trying to create the vapi for the Elementary library from E17
(only widget creation part, the rest is already done).
You can find bindings for Elementary library at
Hi and thanks for your response.
I'm already using this old vapi and updated it, the vapi i try to create
is from the eml_widget.h.
With this file, it's possible to create new elementary widget.
Nicolas.
You can find bindings for Elementary library at
Hi,
I have a smaller repo case. On my Ubuntu 10.04 I run
/usr/local/lib/vala-0.10/gen-introspect-0.10 --namespace=Thrift
-I/usr/local/include/thrift -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
/usr/local/include/thrift/protocol/thrift_protocol.h
/usr/local/lib/libthrift_c_glib.so
It