bindings: rename luajit -> lua
authorDaniel Kolesa <d.kolesa@samsung.com>
Fri, 29 May 2020 15:06:22 +0000 (17:06 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 31 May 2020 21:37:03 +0000 (06:37 +0900)
19 files changed:
meson.build
meson_options.txt
src/bindings/lua/.gitignore [moved from src/bindings/luajit/.gitignore with 100% similarity]
src/bindings/lua/eina/accessor.lua [moved from src/bindings/luajit/eina/accessor.lua with 100% similarity]
src/bindings/lua/eina/counter.lua [moved from src/bindings/luajit/eina/counter.lua with 100% similarity]
src/bindings/lua/eina/file.lua [moved from src/bindings/luajit/eina/file.lua with 100% similarity]
src/bindings/lua/eina/hamster.lua [moved from src/bindings/luajit/eina/hamster.lua with 100% similarity]
src/bindings/lua/eina/iterator.lua [moved from src/bindings/luajit/eina/iterator.lua with 100% similarity]
src/bindings/lua/eina/list.lua [moved from src/bindings/luajit/eina/list.lua with 100% similarity]
src/bindings/lua/eina/log.lua [moved from src/bindings/luajit/eina/log.lua with 100% similarity]
src/bindings/lua/eina/rectangle.lua [moved from src/bindings/luajit/eina/rectangle.lua with 100% similarity]
src/bindings/lua/eina/tiler.lua [moved from src/bindings/luajit/eina/tiler.lua with 100% similarity]
src/bindings/lua/eina/xattr.lua [moved from src/bindings/luajit/eina/xattr.lua with 100% similarity]
src/bindings/lua/eo.lua [moved from src/bindings/luajit/eo.lua with 100% similarity]
src/bindings/lua/eolian.lua [moved from src/bindings/luajit/eolian.lua with 100% similarity]
src/bindings/lua/meson.build [moved from src/bindings/luajit/meson.build with 100% similarity]
src/bindings/meson.build
src/lib/elua/cache.c
src/tests/elua/meson.build

index bcd87d0..da34dca 100644 (file)
@@ -339,7 +339,7 @@ subprojects = [
 ['ethumb_client'    ,[]                    , false,  true,  true, false, false,  true,  true, ['eina', 'efl', 'eo', 'ethumb'], []],
 ['elementary'       ,[]                    ,  true,  true,  true,  true,  true,  true,  true, ['eina', 'efl', 'eo', 'eet', 'evas', 'ecore', 'ecore-evas', 'ecore-file', 'ecore-input', 'edje', 'ethumb-client', 'emotion', 'ecore-imf', 'ecore-con', 'eldbus', 'efreet', 'efreet-mime', 'efreet-trash', 'eio'], ['atspi']],
 ['efl_canvas_wl'    ,['wl']                , false,  true,  true, false, false, false,  true, ['eina', 'efl', 'eo', 'evas', 'ecore'], []],
-['elua'             ,['elua']              , false,  true,  true, false,  true, false, false, ['eina', 'luajit'], []],
+['elua'             ,['elua']              , false,  true,  true, false,  true, false, false, ['eina', lua_pc_name], []],
 ['ecore_drm'        ,['drm-deprecated']    , false,  true, false, false, false, false, false, ['eina'], []],
 ['exactness'        ,['exactness']                    , false,  false,  true, false, false, false, false, ['eina, evas, eet'], []],
 ]
index 1fe94e4..1207fad 100644 (file)
@@ -300,8 +300,8 @@ option('nls',
 
 option('bindings',
   type : 'array',
-  choices : ['luajit', 'cxx', 'mono'],
-  value : ['luajit', 'cxx'],
+  choices : ['lua', 'cxx', 'mono'],
+  value : ['lua', 'cxx'],
   description : 'Which auto-generated language bindings for efl to enable',
 )
 
index b59e084..61027d3 100644 (file)
@@ -1,6 +1,6 @@
 
 bindings = get_option('bindings')
-bindings_order = ['luajit', 'cxx', 'mono']
+bindings_order = ['lua', 'cxx', 'mono']
 
 if (get_option('dotnet') and not bindings.contains('mono'))
   message('dotnet support requires the C# bindings')
index ff11268..bb20c9a 100644 (file)
@@ -136,7 +136,7 @@ getf_map(lua_State *L EINA_UNUSED, void *ud, size_t *size)
    Map_Stream *s    = ud;
    const char *fmap = s->fmap;
    *size = s->flen;
-   /* gotta null it - tell luajit to terminate reading */
+   /* gotta null it - tell lua to terminate reading */
    s->fmap = NULL;
    return fmap;
 }
index 22174f0..fc6829c 100644 (file)
@@ -6,7 +6,7 @@ elua_suite_src = [
    'elua_lib.c'
 ]
 
-elua_bindings_dir = join_paths(meson.source_root(), 'src', 'bindings', 'luajit')
+elua_bindings_dir = join_paths(meson.source_root(), 'src', 'bindings', 'lua')
 elua_core_dir = join_paths(meson.source_root(), 'src', 'scripts', 'elua', 'core')
 elua_modules_dir = join_paths(meson.source_root(), 'src', 'scripts', 'elua', 'modules')
 elua_apps_dir = join_paths(meson.source_root(), 'src', 'tests', 'elua', 'data', 'apps')