[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] Runtime check for bytecode interpreter?
From: |
Dan Williams |
Subject: |
Re: [Devel] Runtime check for bytecode interpreter? |
Date: |
Wed, 5 Mar 2003 08:19:15 -0600 (CST) |
Hi,
If there doesn't already exist one, a call could simply be added to the
API that would return true or false whether bytecode interp was on, and
the return could be conditionalized. That's about as simple as you can
get.
Dan
On Tue, 4 Mar 2003, George Williams wrote:
> Can anyone tell me if there is a way to check at runtime if the library
> is compiled with the byte code interpreter?
>
> I suppose that on linux I can always do:
> handle = dlopen(NULL,RTLD_LAZY)
> if ( dlsym(handle,"TT_RunIns")!=NULL )
> /* Found it */;
> dlclose(handle)
> But I'm hoping there's a more portable method...
>
> _______________________________________________
> Devel mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/devel
>