Initial revision of lua 'doc' function
This commit is contained in:
@@ -24,19 +24,13 @@
|
||||
// Atomic print to a stream.
|
||||
//
|
||||
// This prints an atomic value to a stream. If you give it a table,
|
||||
// it just prints "table". This routine is the heart of the lua
|
||||
// it just prints "<table>". This routine is the heart of the lua
|
||||
// primitives 'print' and 'tostring'.
|
||||
//
|
||||
void atomic_print(LuaStack &LS, LuaSlot val, std::ostream *os);
|
||||
void atomic_print(LuaStack &LS, LuaSlot val, bool quote, std::ostream *os);
|
||||
|
||||
// Pretty print to a stream.
|
||||
//
|
||||
// If indent is >=0, the output is indented. If indent<0, then
|
||||
// the output is emitted without newlines or indentation.
|
||||
//
|
||||
// Maxlen specifies the maximum number of characters output. If
|
||||
// this is exceeded, then the printout is truncated.
|
||||
//
|
||||
void pprint(LuaStack &LS, LuaSlot val, bool indent, std::ostream *os);
|
||||
|
||||
#endif // PPRINT_HPP
|
||||
Reference in New Issue
Block a user