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

Re: Perl bindings for libchamplain



On Wed, Mar 4, 2009 at 2:39 PM, muppet <scott asofyet org> wrote:
>
> On Mar 4, 2009, at 3:11 AM, Emmanuel Rodriguez wrote:
>
>
> The maps file assumes you want to generate all these macros for each thing
> in the maps file.
>
> If the C library does not define a GType for this enum, then either
>
> 1.  remove it from the maps file
> 2.  provide your own conversion function with this name
> 3.  provide your own GType mapping
>
> Which one you use depends on how the enum is used.  If it's used as an
> object property, the C library really ought to have the GType.
>

I assumed that the maps would work magically on all enums.
Libchamplain seems to be in it's infancy and it could be that the enum
is not registered with Glib's object system.

Thanks!

-- 
Emmanuel Rodriguez


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