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

Re: gtk priority constants



Torsten Schoenfeld <kaffeetisch gmx de> writes:
>
> +$type
> +$constant ()
> +    CODE:
> +	RETVAL = $constant;

I guess the only downside there might be I think the value from an xs
sub like that isn't inlined the way a perl level one is.  Though the
nonsense ExtUtils::Constant goes through with AUTOLOAD to inline seems
far worse.  (I had the misfortune to see the other day what h2xs gave
for a half dozen mallopt() constants -- ah dear!)


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