Wrapping of C structs



Hi!
 
I am currently working on wrapping libgda-4.0 but I ran into some
problems as libgda-4.0 uses some simple C structures (not
GObject-derived) for storing data.

For example:
 
typedef struct {
	gchar                  *table_name;
	gint                    size;
	gchar                 **column_names;
	GValue                **column_values;
} GdaMetaContext;

Currently I just typedef those to match the C++ namespace but maybe there is a better solution.

Thanks,
Johannes

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



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