Re: [code][textadept] LuaJIT

From: Mitchell <m.att.foicica.com>
Date: Thu, 13 Feb 2014 08:37:01 -0500 (Eastern Standard Time)

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.
Received on Thu 13 Feb 2014 - 08:37:01 EST

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