Skip to content

Commit d3a6ad8

Browse files
committed
Update README.md
1 parent 68bb989 commit d3a6ad8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ debugger.lua can be easily integrated into an embedded project by including a si
6969
lua_State *lua = luaL_newstate();
7070
luaL_openlibs(lua);
7171
72-
// The 2nd parameter is the module name. (Ex: `require 'debugger'`)
73-
// The 3rd parameter is the name of a global variable to bind it to, or `NULL` if you don't want one.
74-
// The last two are `lua_CFunction`s for overriding the I/O functions.
75-
// A `NULL` I/O function means to use standard input or output respectively.
72+
// The 2nd parameter is the module name. (Ex: require("debugger") )
73+
// The 3rd parameter is the name of a global variable to bind it to, or NULL if you don't want one.
74+
// The last two are lua_CFunctions for overriding the I/O functions.
75+
// A NULL I/O function means to use standard input or output respectively.
7676
dbg_setup(lua, "debugger", "dbg", NULL, NULL);
7777
7878
// Load some lua code and prepare to call the MyBuggyFunction() defined below...

0 commit comments

Comments
 (0)