summaryrefslogtreecommitdiff
path: root/core/src/xmake/machine.c
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-05-08 10:38:11 +0800
committerTitanSnow <[email protected]>2017-05-08 10:38:11 +0800
commitf949546b3f58c852edf08bd6fc0be97831d04fef (patch)
treeadd50258400a02f96aed008fc7976ba04d22739c /core/src/xmake/machine.c
parentc143606586fe8e2303b4801fde89359caa773f16 (diff)
features -> build_configuration
Diffstat (limited to 'core/src/xmake/machine.c')
-rw-r--r--core/src/xmake/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c
index 16c3176f6..09ed217f0 100644
--- a/core/src/xmake/machine.c
+++ b/core/src/xmake/machine.c
@@ -80,7 +80,7 @@ tb_int_t xm_os_getenv(lua_State* lua);
tb_int_t xm_os_emptydir(lua_State* lua);
tb_int_t xm_os_strerror(lua_State* lua);
tb_int_t xm_os_getwinsize(lua_State* lua);
-tb_int_t xm_os_features(lua_State* lua);
+tb_int_t xm_os_build_configuration(lua_State* lua);
// the path functions
tb_int_t xm_path_relative(lua_State* lua);
@@ -132,7 +132,7 @@ static luaL_Reg const g_os_functions[] =
, { "emptydir", xm_os_emptydir }
, { "strerror", xm_os_strerror }
, { "getwinsize", xm_os_getwinsize}
-, { "features", xm_os_features }
+, { "build_configuration", xm_os_build_configuration}
, { tb_null, tb_null }
};