]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Script.hh
simplified win32 installer build script
[chaz/yoink] / src / Moof / Script.hh
index 05b9da972829b28b3cd378ad092914a809974b9c..9e8827abc78d5c3fb254a379b5540b64626cee21 100644 (file)
@@ -789,7 +789,7 @@ public:
         * is any number of return values, depending on the callee).
         */
 
-       Result call(int nargs, int nresults = LUA_MULTRET)
+       Result call(int nargs = 0, int nresults = LUA_MULTRET)
        {
                return (Result)lua_pcall(mState, nargs, nresults, 0);
        }
@@ -916,8 +916,7 @@ inline std::ostream& operator << (std::ostream& stream,
        }
        else
        {
-               stream << slot.getTypeName()
-                          << " (" << slot.getIdentifier() << ")" << std::endl;
+               stream << slot.getTypeName() << " (" << slot.getIdentifier() << ")";
        }
 
        return stream;
This page took 0.017512 seconds and 4 git commands to generate.