aboutsummaryrefslogtreecommitdiff
path: root/luadebug.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-08-16 17:52:00 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-08-16 17:52:00 -0300
commitc787dccd9b5c3e55547a2c4bb598c0276de65034 (patch)
treec4cdf2f7319fee48e048472a2044119f541e8da2 /luadebug.h
parentb44e35b773bcaa9891d80a117392911ab5f656e5 (diff)
downloadlua-c787dccd9b5c3e55547a2c4bb598c0276de65034.tar.gz
lua-c787dccd9b5c3e55547a2c4bb598c0276de65034.tar.bz2
lua-c787dccd9b5c3e55547a2c4bb598c0276de65034.zip
"const" !!!
Diffstat (limited to 'luadebug.h')
-rw-r--r--luadebug.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/luadebug.h b/luadebug.h
index f7727119..53deba78 100644
--- a/luadebug.h
+++ b/luadebug.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luadebug.h,v 1.5 1999/02/04 17:47:59 roberto Exp roberto $ 2** $Id: luadebug.h,v 1.6 1999/03/04 21:17:26 roberto Exp roberto $
3** Debugging API 3** Debugging API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -14,14 +14,15 @@
14typedef lua_Object lua_Function; 14typedef lua_Object lua_Function;
15 15
16typedef void (*lua_LHFunction) (int line); 16typedef void (*lua_LHFunction) (int line);
17typedef void (*lua_CHFunction) (lua_Function func, char *file, int line); 17typedef void (*lua_CHFunction) (lua_Function func, const char *file, int line);
18 18
19lua_Function lua_stackedfunction (int level); 19lua_Function lua_stackedfunction (int level);
20void lua_funcinfo (lua_Object func, char **source, int *linedefined); 20void lua_funcinfo (lua_Object func, const char **source, int *linedefined);
21int lua_currentline (lua_Function func); 21int lua_currentline (lua_Function func);
22char *lua_getobjname (lua_Object o, char **name); 22const char *lua_getobjname (lua_Object o, const char **name);
23 23
24lua_Object lua_getlocal (lua_Function func, int local_number, char **name); 24lua_Object lua_getlocal (lua_Function func, int local_number,
25 const char **name);
25int lua_setlocal (lua_Function func, int local_number); 26int lua_setlocal (lua_Function func, int local_number);
26 27
27int lua_nups (lua_Function func); 28int lua_nups (lua_Function func);