Re: [code][textadept] LuaJIT

From: Richard Philips <richard.philips.att.gmail.com>
Date: Thu, 13 Feb 2014 14:41:52 +0100

Works perfectly!

Thanks,

Richard

On Thursday, February 13, 2014, Mitchell <m.att.foicica.com> wrote:

> Hi Richard,
>
> On Thu, 13 Feb 2014, Richard Philips wrote:
>
> Hi Mitchell,
>>
>> I sometimes have the need to know if textadept is running with LuaJIT or
>> not.
>>
>> A test in the API would be welcome.
>>
>> e.g. _G.LUAJIT
>>
>
> You can test for _G.jit because LuaJIT creates that module.
> `core/init.lua` performs the test to provide compatibility functions.
>
> Cheers,
> Mitchell
> --
> You are subscribed to code.att.foicica.com.
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>
>

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 13 Feb 2014 - 08:41:52 EST

This archive was generated by hypermail 2.2.0 : Fri 14 Feb 2014 - 06:46:10 EST