diff options
| author | ruki <[email protected]> | 2018-11-16 22:52:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-11-16 11:17:01 +0800 |
| commit | 07c7b0bd18eaf7bb9fc9df5674aef81a3842213a (patch) | |
| tree | 8912ca6cbf0327c30ee6b3f89345f3bbb89d24e6 | |
| parent | c1e39bbf9b974b12199953075f581099c025d6ca (diff) | |
add lib.luajit.x modules
| -rw-r--r-- | xmake/core/sandbox/modules/import/lib/luajit/ffi.lua | 26 | ||||
| -rw-r--r-- | xmake/core/sandbox/modules/import/lib/luajit/jit.lua | 26 |
2 files changed, 52 insertions, 0 deletions
diff --git a/xmake/core/sandbox/modules/import/lib/luajit/ffi.lua b/xmake/core/sandbox/modules/import/lib/luajit/ffi.lua new file mode 100644 index 000000000..2a4bc12a5 --- /dev/null +++ b/xmake/core/sandbox/modules/import/lib/luajit/ffi.lua @@ -0,0 +1,26 @@ +--!A cross-platform build utility based on Lua +-- +-- Licensed to the Apache Software Foundation (ASF) under one +-- or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information +-- regarding copyright ownership. The ASF licenses this file +-- to you under the Apache License, Version 2.0 (the +-- "License"); you may not use this file except in compliance +-- with the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- +-- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- +-- @author ruki +-- @file ffi.lua +-- + +-- return module +return require("ffi") diff --git a/xmake/core/sandbox/modules/import/lib/luajit/jit.lua b/xmake/core/sandbox/modules/import/lib/luajit/jit.lua new file mode 100644 index 000000000..888f0e92d --- /dev/null +++ b/xmake/core/sandbox/modules/import/lib/luajit/jit.lua @@ -0,0 +1,26 @@ +--!A cross-platform build utility based on Lua +-- +-- Licensed to the Apache Software Foundation (ASF) under one +-- or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information +-- regarding copyright ownership. The ASF licenses this file +-- to you under the Apache License, Version 2.0 (the +-- "License"); you may not use this file except in compliance +-- with the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- +-- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- +-- @author ruki +-- @file jit.lua +-- + +-- return module +return require("jit") |
