Do not export non-namespaced names

This commit is contained in:
Yevgen Muntyan 2007-11-15 22:51:31 -06:00
parent b1295e2a74
commit a4efe72f97
3 changed files with 19 additions and 1 deletions

View File

@ -490,7 +490,7 @@ struct _stat_members {
_push_function push;
};
struct _stat_members members[] = {
static struct _stat_members members[] = {
{ "mode", push_st_mode },
{ "dev", push_st_dev },
{ "ino", push_st_ino },

View File

@ -9,6 +9,15 @@
#include <stdio.h>
#include "lua.h"
#define spawn_param_init _moo_lua_ex_spawn_param_init
#define spawn_param_filename _moo_lua_ex_spawn_param_filename
#define spawn_param_args _moo_lua_ex_spawn_param_args
#define spawn_param_env _moo_lua_ex_spawn_param_env
#define spawn_param_redirect _moo_lua_ex_spawn_param_redirect
#define spawn_param_execute _moo_lua_ex_spawn_param_execute
#define process_wait _moo_lua_ex_process_wait
#define process_tostring _moo_lua_ex_process_tostring
#define PROCESS_HANDLE "process"
struct process;
struct spawn_params;

View File

@ -9,6 +9,15 @@
#include <windows.h>
#include "lua.h"
#define spawn_param_init _moo_lua_ex_spawn_param_init
#define spawn_param_filename _moo_lua_ex_spawn_param_filename
#define spawn_param_args _moo_lua_ex_spawn_param_args
#define spawn_param_env _moo_lua_ex_spawn_param_env
#define spawn_param_redirect _moo_lua_ex_spawn_param_redirect
#define spawn_param_execute _moo_lua_ex_spawn_param_execute
#define process_wait _moo_lua_ex_process_wait
#define process_tostring _moo_lua_ex_process_tostring
#define PROCESS_HANDLE "process"
struct process;
struct spawn_params;