Update of /cvsroot/luabind/luabind/luabind/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11526
Modified Files:
Tag: beta7-devel2
docs.html docs.rst
Log Message:
foxed typo in example
Index: docs.html
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/doc/docs.html,v
retrieving revision 1.52.2.11
retrieving revision 1.52.2.12
diff -u -d -r1.52.2.11 -r1.52.2.12
--- docs.html 26 Oct 2005 16:10:26 -0000 1.52.2.11
+++ docs.html 26 Oct 2005 17:18:49 -0000 1.52.2.12
@@ -24,7 +24,7 @@
<tr><th class="docinfo-name">Date:</th>
<td>2005-10-26</td></tr>
<tr><th class="docinfo-name">Revision:</th>
-<td>1.25.2.12</td></tr>
+<td>1.25.2.13</td></tr>
<tr class="field"><th class="docinfo-name">License:</th><td class="field-body"><p class="first">Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
@@ -1152,7 +1152,7 @@
<pre class="literal-block">
void my_function(object const& table)
{
- if (table.type() == LUA_TTABLE)
+ if (type(table) == LUA_TTABLE)
{
table["time"] = std::clock();
table["name"] = std::rand() < 500 ? "unusual" : "usual";
Index: docs.rst
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/doc/docs.rst,v
retrieving revision 1.25.2.13
retrieving revision 1.25.2.14
diff -u -d -r1.25.2.13 -r1.25.2.14
--- docs.rst 26 Oct 2005 16:10:26 -0000 1.25.2.13
+++ docs.rst 26 Oct 2005 17:18:49 -0000 1.25.2.14
@@ -1142,7 +1142,7 @@
void my_function(object const& table)
{
- if (table.type() == LUA_TTABLE)
+ if (type(table) == LUA_TTABLE)
{
table["time"] = std::clock();
table["name"] = std::rand() < 500 ? "unusual" : "usual";
|