[introspection] struct without copy constructor



Hello,

I'am trying to use the gobject-introspection to add binding to one of
my C library. I use the g_boxed_type_register_static, to register
"object" and it works great.

But now I am facing a issue with struct without copy constructor.
so I tryed to put NULL for the copy method of the GtkBoxedType. But it
was not allow -> runtime error.

so my question is 'simple' what is the recommanded way if I want to add
a struct without copy constructor.

thanks

Frédéric

-- 
GPG public key 4096R/4696E015 2011-02-14
    fingerprint = E92E 7E6E 9E9D A6B1 AA31  39DC 5632 906F 4696 E015
uid  Picca Frédéric-Emmanuel <picca synchrotron-soleil fr>

GPG public key 1024D/A59B1171 2009-08-11
    fingerprint = 1688 A3D6 F0BD E4DF 2E6B  06AA B6A9 BA6A A59B 1171
uid  Picca Frédéric-Emmanuel <picca debian org>

Attachment: signature.asc
Description: PGP signature



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