<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-14110</id>
	<title>Nabble - Lua</title>
	<updated>2009-12-20T11:52:04Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Lua-f14110.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Lua-f14110.html" />
	<subtitle type="html">Lua is a powerful light-weight programming language designed for extending applications. Lua is also frequently used as a general-purpose, stand-alone language. Lua home is &lt;a href=&quot;http://www.lua.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26866713</id>
	<title>Re: luabind - problem with luabind::object reference</title>
	<published>2009-12-20T11:52:04Z</published>
	<updated>2009-12-20T11:52:04Z</updated>
	<author>
		<name>Jason McKesson</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html; charset=UTF-8&quot; http-equiv=&quot;Content-Type&quot;&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Yes, the object has a reference. However, the object should releases
the reference when it is destroyed. Which happens immediately after
creation.&lt;br&gt;
&lt;br&gt;
No, his problem is the fact that the object is &lt;i&gt;still&lt;/i&gt; on the
stack. Luabind's from_stack call does &lt;i&gt;not&lt;/i&gt; pop it off of the
stack for you; you have to do that yourself.&lt;br&gt;
&lt;br&gt;
On 12/20/2009 9:30 AM, Linker wrote:
&lt;blockquote cite=&quot;mid:bd36ddba0912200930i5bdcf01cld534aa5e285b4bdd@mail.gmail.com&quot; type=&quot;cite&quot;&gt;&lt;font color=&quot;#000099&quot;&gt;&lt;font size=&quot;4&quot;&gt;&lt;font face=&quot;comic sans ms,sans-serif&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(51, 51, 51); font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;&quot;&gt; luabind::object
obj(luabind::from_stack(ls, -1));&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;
  &lt;div&gt;&lt;font color=&quot;#000099&quot;&gt;&lt;font size=&quot;4&quot;&gt;&lt;font face=&quot;comic sans ms,sans-serif&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#333333&quot; face=&quot;arial, sans-serif&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-size: 13px;&quot;&gt;The &quot;obj&quot; hold a
ref.&lt;br&gt;
  &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;br&gt;
  &lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Dec 20, 2009 at 18:25, Oleksandr . &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26866713&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sqbrain@...&lt;/a&gt;&amp;gt;&lt;/span&gt;
wrote:&lt;br&gt;
  &lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Using
C++, lua5.1, luabind 0.7&lt;br&gt;
    &lt;br&gt;
*** Lua code: ***&lt;br&gt;
-- allocates near 8Mb of memory&lt;br&gt;
function fff()&lt;br&gt;
    local t = {}&lt;br&gt;
    for i = 1, 300000 do&lt;br&gt;
        table.insert(t, i)&lt;br&gt;
    end&lt;br&gt;
    return t&lt;br&gt;
end&lt;br&gt;
    &lt;br&gt;
*** C++ code ***&lt;br&gt;
{&lt;br&gt;
    luaL_dostring(lua_state, &quot;return fff()&quot;);&lt;br&gt;
    luabind::object obj(luabind::from_stack(ls, -1));&lt;br&gt;
}&lt;br&gt;
lua_gc(l_, LUA_GCCOLLECT, 0); // collect garbage&lt;br&gt;
    &lt;br&gt;
Result: Lua still have a 8Mb allocated memory. Garbage collection
ignores that table object. It has references anywhere? But where? That
table deallocates only on program exit (when &quot;lua_close&quot; function
called). How to solve this problem and what is the reason?&lt;br&gt;
    &lt;br&gt;
Thank you.&lt;br&gt;
    &lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
This SF.Net email is sponsored by the Verizon Developer Community&lt;br&gt;
Take advantage of Verizon's best-in-class app development support&lt;br&gt;
A streamlined, 14 day to market process makes app distribution fast and
easy&lt;br&gt;
Join now and get one step closer to millions of Verizon customers&lt;br&gt;
    &lt;a moz-do-not-send=&quot;true&quot; href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt; &lt;br&gt;
_______________________________________________&lt;br&gt;
luabind-user mailing list&lt;br&gt;
    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26866713&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;br&gt;
    &lt;a moz-do-not-send=&quot;true&quot; href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;
    &lt;br&gt;
  &lt;/blockquote&gt;
  &lt;/div&gt;
  &lt;br&gt;
  &lt;br clear=&quot;all&quot;&gt;
  &lt;br&gt;
-- &lt;br&gt;
Regards,&lt;br&gt;
Linker Lin&lt;br&gt;
  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26866713&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linker.m.lin@...&lt;/a&gt;&lt;br&gt;
  &lt;/div&gt;
  &lt;pre wrap=&quot;&quot;&gt;
&lt;fieldset class=&quot;mimeAttachmentHeader&quot;&gt;&lt;/fieldset&gt;
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt; &lt;/pre&gt;
  &lt;pre wrap=&quot;&quot;&gt;
&lt;fieldset class=&quot;mimeAttachmentHeader&quot;&gt;&lt;/fieldset&gt;
_______________________________________________
luabind-user mailing list
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26866713&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;
  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26866713&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/luabind---problem-with-luabind%3A%3Aobject-reference-tp26862267p26866713.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26865433</id>
	<title>Re: luabind - problem with luabind::object reference</title>
	<published>2009-12-20T09:30:59Z</published>
	<updated>2009-12-20T09:30:59Z</updated>
	<author>
		<name>Linker Lin-2</name>
	</author>
	<content type="html">&lt;font color=&quot;#000099&quot;&gt;&lt;font size=&quot;4&quot;&gt;&lt;font face=&quot;comic sans ms,sans-serif&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; &quot;&gt; luabind::object obj(luabind::from_stack(ls, -1));&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;div&gt;

&lt;font color=&quot;#000099&quot;&gt;&lt;font size=&quot;4&quot;&gt;&lt;font face=&quot;comic sans ms,sans-serif&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#333333&quot; face=&quot;arial, sans-serif&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-size: 13px;&quot;&gt;The &amp;quot;obj&amp;quot; hold a ref.&lt;br&gt;

&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Dec 20, 2009 at 18:25, Oleksandr . &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26865433&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sqbrain@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;

Using C++, lua5.1, luabind 0.7&lt;br&gt;&lt;br&gt;*** Lua code: ***&lt;br&gt;-- allocates near 8Mb of memory&lt;br&gt;function fff()&lt;br&gt;    local t = {}&lt;br&gt;    for i = 1, 300000 do&lt;br&gt;        table.insert(t, i)&lt;br&gt;    end&lt;br&gt;    return t&lt;br&gt;end&lt;br&gt;


&lt;br&gt;*** C++ code ***&lt;br&gt;{&lt;br&gt;    luaL_dostring(lua_state, &amp;quot;return fff()&amp;quot;);&lt;br&gt;    luabind::object obj(luabind::from_stack(ls, -1));&lt;br&gt;}&lt;br&gt;lua_gc(l_, LUA_GCCOLLECT, 0); // collect garbage&lt;br&gt;&lt;br&gt;Result: Lua still have a 8Mb allocated memory. Garbage collection ignores that table object. It has references anywhere? But where? That table deallocates only on program exit (when &amp;quot;lua_close&amp;quot; function called). How to solve this problem and what is the reason?&lt;br&gt;


&lt;br&gt;Thank you.&lt;br&gt;
&lt;br&gt;------------------------------------------------------------------------------&lt;br&gt;
This SF.Net email is sponsored by the Verizon Developer Community&lt;br&gt;
Take advantage of Verizon&amp;#39;s best-in-class app development support&lt;br&gt;
A streamlined, 14 day to market process makes app distribution fast and easy&lt;br&gt;
Join now and get one step closer to millions of Verizon customers&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt; &lt;br&gt;_______________________________________________&lt;br&gt;
luabind-user mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26865433&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Regards,&lt;br&gt;Linker Lin&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26865433&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linker.m.lin@...&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26865433&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/luabind---problem-with-luabind%3A%3Aobject-reference-tp26862267p26865433.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26862267</id>
	<title>luabind - problem with luabind::object reference</title>
	<published>2009-12-20T02:25:46Z</published>
	<updated>2009-12-20T02:25:46Z</updated>
	<author>
		<name>Oleksandr .</name>
	</author>
	<content type="html">Using C++, lua5.1, luabind 0.7&lt;br&gt;&lt;br&gt;*** Lua code: ***&lt;br&gt;-- allocates near 8Mb of memory&lt;br&gt;function fff()&lt;br&gt;    local t = {}&lt;br&gt;    for i = 1, 300000 do&lt;br&gt;        table.insert(t, i)&lt;br&gt;    end&lt;br&gt;    return t&lt;br&gt;end&lt;br&gt;
&lt;br&gt;*** C++ code ***&lt;br&gt;{&lt;br&gt;    luaL_dostring(lua_state, &amp;quot;return fff()&amp;quot;);&lt;br&gt;    luabind::object obj(luabind::from_stack(ls, -1));&lt;br&gt;}&lt;br&gt;lua_gc(l_, LUA_GCCOLLECT, 0); // collect garbage&lt;br&gt;&lt;br&gt;Result: Lua still have a 8Mb allocated memory. Garbage collection ignores that table object. It has references anywhere? But where? That table deallocates only on program exit (when &amp;quot;lua_close&amp;quot; function called). How to solve this problem and what is the reason?&lt;br&gt;
&lt;br&gt;Thank you.&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26862267&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/luabind---problem-with-luabind%3A%3Aobject-reference-tp26862267p26862267.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26859504</id>
	<title>Re: Binding modules loaded by &quot;require&quot;?</title>
	<published>2009-12-19T15:11:50Z</published>
	<updated>2009-12-19T15:11:50Z</updated>
	<author>
		<name>Kristoffer Danielsson</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
Hi,&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
Thanks for your clarification. It makes perfect sense now.&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
I ended up creating a &quot;lua sandbox&quot;,&amp;nbsp;where I explicitly set entries in the package.loaders array. Regarding the &quot;namespace&quot; of loaded libraries, it turned out to be as&amp;nbsp;easy as this:&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;&lt;FONT size=2&gt;
module(..., package.seeall)&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
Your solution requires a bit more work, but perhaps it's better (or more elegant?). I don't know.&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
Thanks again!&lt;/FONT&gt;&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
&lt;HR id=stopSpelling&gt;
Date: Sat, 19 Dec 2009 13:57:23 -0800&lt;BR&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26859504&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;korval2@...&lt;/a&gt;&lt;BR&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26859504&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;BR&gt;Subject: Re: [luabind] Binding modules loaded by &quot;require&quot;?&lt;BR&gt;&lt;BR&gt;On 12/17/2009 5:22 AM, Kristoffer Danielsson wrote: 
&lt;BLOCKQUOTE cite=mid:SNT108-W28E5F311C556D74E23DBFFF860@phx.gbl&gt;

Thanks for your reply.&lt;BR&gt;&amp;nbsp;&lt;BR&gt;I've read the documentation, but I don't quite follow.&lt;BR&gt;&amp;nbsp;&lt;BR&gt;If I load&amp;nbsp;&quot;C:\MyScript.lua&quot; and do my luabind stuff:&lt;BR&gt;&amp;nbsp;&lt;BR&gt;luabind::open(L);&lt;BR&gt;bind &quot;foo&quot; etc...&lt;BR&gt;&amp;nbsp;&lt;BR&gt;And then, inside this&amp;nbsp;MyScript.lua, I&amp;nbsp;want to get access to another library:&lt;BR&gt;&amp;nbsp;&lt;BR&gt;require&amp;nbsp;'extra.mylib' -- Loads C:\extra\mylib.lua...&lt;BR&gt;&amp;nbsp;&lt;BR&gt;Now, inside mylib.lua I want to access my C++ function &quot;foo&quot;. You mention &quot;preload&quot;, but where should I initialize it - and how?&lt;BR&gt;&amp;nbsp;&lt;BR&gt;Thanks again!&lt;BR&gt;&lt;/BLOCKQUOTE&gt;&lt;BR&gt;The documentation under &quot;require&quot; tells you exactly why &quot;require&amp;nbsp;'extra.mylib'&quot; causes &quot;C:\extra\mylib.lua&quot; to be loaded. This happens exactly and only because there is an entry in the &quot;package.loaders&quot; array that tells it to convert &quot;extra.mylib&quot; into a Lua filename &quot;\extra\mylib.lua&quot;. The package system, when you initialized it, causes this to happen.&lt;BR&gt;&lt;BR&gt;Specifically, the documentation under &quot;package.loaders&quot; explains how it works:&lt;BR&gt;&lt;BR&gt;&lt;TT&gt;Each entry in this table is a &lt;EM&gt;searcher function&lt;/EM&gt;. When looking for a module, &lt;A href=&quot;http://www.lua.org/manual/5.1/manual.html#pdf-require&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;CODE&gt;require&lt;/CODE&gt;&lt;/A&gt; calls each of these searchers in ascending order, with the module name (the argument given to &lt;A href=&quot;http://www.lua.org/manual/5.1/manual.html#pdf-require&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;CODE&gt;require&lt;/CODE&gt;&lt;/A&gt;) as its sole parameter. The function can return another function (the module &lt;EM&gt;loader&lt;/EM&gt;) or a string explaining why it did not find that module (or &lt;B&gt;nil&lt;/B&gt; if it has nothing to say). Lua initializes this table with four functions. &lt;BR&gt;&lt;/TT&gt;&lt;BR&gt;Therefore, all &quot;require&quot; does is call functions in &quot;package.loaders&quot;. So, if you want to provide a hook into the package system to be able to create your own C/C++ packages, you simply modify this array. Add a C/C++ function into the array that takes a string. This function will be called when a user uses &quot;require&quot;, as long as none of the earlier loaders.&lt;BR&gt;&lt;BR&gt;The initial form of &quot;package.loaders&quot; looks like this:&lt;BR&gt;&lt;BR&gt;&lt;TT&gt;package.loaders[1] = function(moduleName) if(package.preload[moduleName] &amp;amp;&amp;amp; type(package.preload[moduleName]) == &quot;function&quot;) then return package.preload[moduleName] else return nil end end&lt;BR&gt;package.loaders[2] = function(moduleName) --[[ Search package.path for a Lua file with moduleName. ]] end&lt;BR&gt;package.loaders[3] = function(moduleName) --[[ Search package.cpath for a DLL/SO file with moduleName. ]] end&lt;BR&gt;package.loaders[4] = function(moduleName) --[[ Search package.cpath for a DLL/SO file with moduleName's root name. ]] end&lt;BR&gt;&lt;/TT&gt;&lt;BR&gt;You can add/change one of these functions, or you can simply add an entry in &quot;package.preload[moduleName]&quot; for your module's name.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;Hitta kärleken! Klicka här &lt;a href='http://windows.microsoft.com/shop' target='_new' rel=&quot;nofollow&quot;&gt;Hitta en dator som passar dig!&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26859504&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Binding-modules-loaded-by-%22require%22--tp26819982p26859504.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26858953</id>
	<title>Re: Binding modules loaded by &quot;require&quot;?</title>
	<published>2009-12-19T13:57:23Z</published>
	<updated>2009-12-19T13:57:23Z</updated>
	<author>
		<name>Jason McKesson</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html; charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
On 12/17/2009 5:22 AM, Kristoffer Danielsson wrote:
&lt;blockquote cite=&quot;mid:SNT108-W28E5F311C556D74E23DBFFF860@phx.gbl&quot; type=&quot;cite&quot;&gt;
  Thanks
for your reply.&lt;br&gt;
&amp;nbsp;&lt;br&gt;
I've read the documentation, but I don't quite follow.&lt;br&gt;
&amp;nbsp;&lt;br&gt;
If I load&amp;nbsp;&quot;C:\MyScript.lua&quot; and do my luabind stuff:&lt;br&gt;
&amp;nbsp;&lt;br&gt;
luabind::open(L);&lt;br&gt;
bind &quot;foo&quot; etc...&lt;br&gt;
&amp;nbsp;&lt;br&gt;
And then, inside this&amp;nbsp;MyScript.lua, I&amp;nbsp;want to get access to another
library:&lt;br&gt;
&amp;nbsp;&lt;br&gt;
require&amp;nbsp;'extra.mylib' -- Loads C:\extra\mylib.lua...&lt;br&gt;
&amp;nbsp;&lt;br&gt;
Now, inside mylib.lua I want to access my C++ function &quot;foo&quot;. You
mention &quot;preload&quot;, but where should I initialize it - and how?&lt;br&gt;
&amp;nbsp;&lt;br&gt;
Thanks again!&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;
The documentation under &quot;require&quot; tells you exactly why
&quot;require&amp;nbsp;'extra.mylib'&quot; causes &quot;C:\extra\mylib.lua&quot; to be loaded. This
happens exactly and only because there is an entry in the
&quot;package.loaders&quot; array that tells it to convert &quot;extra.mylib&quot; into a
Lua filename &quot;\extra\mylib.lua&quot;. The package system, when you
initialized it, causes this to happen.&lt;br&gt;
&lt;br&gt;
Specifically, the documentation under &quot;package.loaders&quot; explains how it
works:&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;Each entry in this table is a &lt;em&gt;searcher function&lt;/em&gt;.
When looking for a module,
&lt;a href=&quot;http://www.lua.org/manual/5.1/manual.html#pdf-require&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;code&gt;require&lt;/code&gt;&lt;/a&gt;
calls each of these searchers in ascending order,
with the module name (the argument given to &lt;a href=&quot;http://www.lua.org/manual/5.1/manual.html#pdf-require&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;code&gt;require&lt;/code&gt;&lt;/a&gt;)
as its
sole parameter.
The function can return another function (the module &lt;em&gt;loader&lt;/em&gt;)
or a string explaining why it did not find that module
(or &lt;b&gt;nil&lt;/b&gt; if it has nothing to say).
Lua initializes this table with four functions.
&lt;br&gt;
&lt;/tt&gt;&lt;br&gt;
Therefore, all &quot;require&quot; does is call functions in &quot;package.loaders&quot;.
So, if you want to provide a hook into the package system to be able to
create your own C/C++ packages, you simply modify this array. Add a
C/C++ function into the array that takes a string. This function will
be called when a user uses &quot;require&quot;, as long as none of the earlier
loaders.&lt;br&gt;
&lt;br&gt;
The initial form of &quot;package.loaders&quot; looks like this:&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;package.loaders[1] = function(moduleName)
if(package.preload[moduleName] &amp;amp;&amp;amp;
type(package.preload[moduleName]) == &quot;function&quot;) then return
package.preload[moduleName] else return nil end end&lt;br&gt;
package.loaders[2] = function(moduleName) --[[ Search package.path for
a Lua file with moduleName. ]]
end&lt;br&gt;
package.loaders[3] = function(moduleName) --[[ Search package.cpath for
a DLL/SO file with moduleName. ]]
end&lt;br&gt;
package.loaders[4] = function(moduleName) --[[ Search package.cpath for
a DLL/SO file with moduleName's root name. ]]
end&lt;br&gt;
&lt;/tt&gt;
&lt;br&gt;
You can add/change one of these functions, or you can simply add an
entry in &quot;package.preload[moduleName]&quot; for your module's name.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26858953&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Binding-modules-loaded-by-%22require%22--tp26819982p26858953.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26838289</id>
	<title>Mutable Field</title>
	<published>2009-12-17T18:33:00Z</published>
	<updated>2009-12-17T18:33:00Z</updated>
	<author>
		<name>Sandro Ferreira</name>
	</author>
	<content type="html">Hello,&lt;br&gt;&lt;br&gt;I&amp;#39;m creating a binding for one library that have one class with mutable field, which the best way to bind this field?&lt;br&gt;&lt;br&gt;.def_readwrite work only for non const class.&lt;br&gt;With the error message for const instance:&lt;br&gt;
&amp;quot;No matching overload found, candidates: void &amp;lt;unknown&amp;gt;(CMod1&amp;amp;,int const&amp;amp;)&amp;quot;, where the mutable field is an integer.&lt;br&gt;&lt;br&gt;.property work, but is this the only solution for this case?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;
-- &lt;br&gt;Sandro Souza Ferreira&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26838289&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Mutable-Field-tp26838289p26838289.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26827917</id>
	<title>Re: Binding modules loaded by &quot;require&quot;?</title>
	<published>2009-12-17T05:22:42Z</published>
	<updated>2009-12-17T05:22:42Z</updated>
	<author>
		<name>Kristoffer Danielsson</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
Thanks for your reply.&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
I've read the documentation, but I don't quite follow.&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
If I load&amp;nbsp;&quot;C:\MyScript.lua&quot; and do my luabind stuff:&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
luabind::open(L);&lt;BR&gt;
bind &quot;foo&quot; etc...&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
And then, inside this&amp;nbsp;MyScript.lua, I&amp;nbsp;want to get access to another library:&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
require&amp;nbsp;'extra.mylib' -- Loads C:\extra\mylib.lua...&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
Now, inside mylib.lua I want to access my C++ function &quot;foo&quot;. You mention &quot;preload&quot;, but where should I initialize it - and how?&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
Thanks again!&lt;BR&gt;&amp;nbsp;&lt;BR&gt;
&lt;HR id=stopSpelling&gt;
Date: Wed, 16 Dec 2009 20:16:20 -0800&lt;BR&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827917&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;korval2@...&lt;/a&gt;&lt;BR&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827917&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;BR&gt;Subject: Re: [luabind] Binding modules loaded by &quot;require&quot;?&lt;BR&gt;&lt;BR&gt;On 12/16/2009 2:55 PM, Kristoffer Danielsson wrote: 
&lt;BLOCKQUOTE cite=mid:SNT108-W40405B66018BEDD94AEB3AFF870@phx.gbl&gt;

If I load a module inside my luabind-controlled lua-script:&lt;BR&gt;require &quot;path/mylib&quot;&lt;BR&gt;&amp;nbsp;&lt;BR&gt;...then I want to bind my C++ functions to &quot;mylib.lua&quot;. How do I do that?&lt;BR&gt;&amp;nbsp;&lt;BR&gt;As it is now, the library does not know of my C++ classes/functions, which basically makes modularization worthless.&lt;BR&gt;&amp;nbsp;&lt;BR&gt;Thanks!&lt;BR&gt;&lt;/BLOCKQUOTE&gt;The Lua manual explains the functioning of require quite well. You can find what you're looking for here: &lt;A class=ecxmoz-txt-link-freetext href=&quot;http://www.lua.org/manual/5.1/manual.html#5.3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lua.org/manual/5.1/manual.html#5.3&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;Basically, what you want is to register a loading function with Lua. Just use Luabind to register a function, then place this function in the &quot;package.preload&quot; table under the entry of whatever you want the module to be named. So if you want &quot;path/mylib&quot; to be the name of the module, you would put the loader function in &quot;package.preload[&quot;path/mylib&quot;]&quot;.&lt;BR&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;Ladda ner nya Internet Explorer 8! &lt;a href='http://windowslive.se.msn.com/wl/downloads' target='_new' rel=&quot;nofollow&quot;&gt;Ladda ner nya Internet Explorer 8!&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827917&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Binding-modules-loaded-by-%22require%22--tp26819982p26827917.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26822892</id>
	<title>Re: Binding modules loaded by &quot;require&quot;?</title>
	<published>2009-12-16T20:16:20Z</published>
	<updated>2009-12-16T20:16:20Z</updated>
	<author>
		<name>Jason McKesson</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html; charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
On 12/16/2009 2:55 PM, Kristoffer Danielsson wrote:
&lt;blockquote cite=&quot;mid:SNT108-W40405B66018BEDD94AEB3AFF870@phx.gbl&quot; type=&quot;cite&quot;&gt;
  If
I load a module inside my luabind-controlled lua-script:&lt;br&gt;
require &quot;path/mylib&quot;&lt;br&gt;
&amp;nbsp;&lt;br&gt;
...then I want to bind my C++ functions to &quot;mylib.lua&quot;. How do I do
that?&lt;br&gt;
&amp;nbsp;&lt;br&gt;
As it is now, the library does not know of my C++ classes/functions,
which basically makes modularization worthless.&lt;br&gt;
&amp;nbsp;&lt;br&gt;
Thanks!&lt;br&gt;
&lt;/blockquote&gt;
The Lua manual explains the functioning of require quite well. You can
find what you're looking for here:
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://www.lua.org/manual/5.1/manual.html#5.3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lua.org/manual/5.1/manual.html#5.3&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Basically, what you want is to register a loading function with Lua.
Just use Luabind to register a function, then place this function in
the &quot;package.preload&quot; table under the entry of whatever you want the
module to be named. So if you want &quot;path/mylib&quot; to be the name of the
module, you would put the loader function in
&quot;package.preload[&quot;path/mylib&quot;]&quot;.&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26822892&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Binding-modules-loaded-by-%22require%22--tp26819982p26822892.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26819982</id>
	<title>Binding modules loaded by &quot;require&quot;?</title>
	<published>2009-12-16T14:55:19Z</published>
	<updated>2009-12-16T14:55:19Z</updated>
	<author>
		<name>Kristoffer Danielsson</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
If I load a module inside my luabind-controlled lua-script:&lt;BR&gt;
require &quot;path/mylib&quot;&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
...then I want to bind my C++ functions to &quot;mylib.lua&quot;. How do I do that?&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
As it is now, the library does not know of my C++ classes/functions, which basically makes modularization worthless.&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
Thanks!&lt;BR&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;Yes! Windows 7 gör din dator bättre och enklare &lt;a href='http://channels.se.msn.com/windows7/' target='_new' rel=&quot;nofollow&quot;&gt;Yes! Windows 7 gör din dator bättre och enklare&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26819982&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Binding-modules-loaded-by-%22require%22--tp26819982p26819982.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26793479</id>
	<title>Re: Assertion failed</title>
	<published>2009-12-15T03:41:04Z</published>
	<updated>2009-12-15T03:41:04Z</updated>
	<author>
		<name>Sandro Ferreira</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Dec 15, 2009 at 8:05 AM, Daniel Wallin &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26793479&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;Sandro Ferreira wrote:&lt;br&gt;
&amp;gt; On Fri, Dec 11, 2009 at 2:45 PM, Daniel Wallin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26793479&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Sandro Ferreira wrote:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Hi Daniel,&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; No, it&amp;#39;s only the relevant code, just to show the assertion. The rest is&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; only API definition (dllexport/dllimport).&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; I&amp;#39;m using Visual Studio 2005. I can send the complete code, if you need.&lt;br&gt;
&amp;gt;&amp;gt; Yes please, that would be very helpful.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;&lt;div class=&quot;im&quot;&gt;&amp;gt; Attached, the source code, projects and binary for windows.&lt;br&gt;
&amp;gt; I forgot to say I using Luabind and Lua (version 5.1.4) as dll, and boost&lt;br&gt;
&amp;gt; version 1.40.0.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Thank you. Can you try the 0.9 branch? I&amp;#39;ve just commited a fix for this.&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;Daniel Wallin&lt;br&gt;
BoostPro Computing&lt;br&gt;
&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Return on Information:&lt;br&gt;
Google Enterprise Search pays you back&lt;br&gt;
Get the facts.&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
luabind-user mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26793479&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;Thank you, is now running without assertion.&lt;br&gt;-- &lt;br&gt;Sandro Souza Ferreira&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26793479&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Assertion-failed-tp26727570p26793479.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26792589</id>
	<title>Re: How do I register an abstract class with luabind?</title>
	<published>2009-12-15T02:25:20Z</published>
	<updated>2009-12-15T02:25:20Z</updated>
	<author>
		<name>Daniel Wallin-4</name>
	</author>
	<content type="html">mat buckland wrote:
&lt;br&gt;&amp;gt; How do I register a class that contains one or more pure virtual methods?
&lt;br&gt;&lt;br&gt;It depends on whether or not you want to derive from the class and
&lt;br&gt;override the functions in Lua. If not, you just export them as usual.
&lt;br&gt;&lt;br&gt;&amp;nbsp; class X
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; public:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; virtual ~X() {}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; virtual void f() = 0;
&lt;br&gt;&amp;nbsp; };
&lt;br&gt;&lt;br&gt;&amp;nbsp; ...
&lt;br&gt;&lt;br&gt;&amp;nbsp; class_&amp;lt;X&amp;gt;(&amp;quot;X&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; .def(&amp;quot;f&amp;quot;, &amp;X::f)
&lt;br&gt;&lt;br&gt;If you want to be able to override them in Lua, you need to add a
&lt;br&gt;wrapper class:
&lt;br&gt;&lt;br&gt;&amp;nbsp;class X_wrapper : public X, public luabind::wrap_base
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;public:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;void f()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;call&amp;lt;void&amp;gt;(&amp;quot;f&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;};
&lt;br&gt;&lt;br&gt;&amp;nbsp;...
&lt;br&gt;&lt;br&gt;&amp;nbsp;class_&amp;lt;X, X_wrapper&amp;gt;(&amp;quot;X&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;.def(constructor&amp;lt;&amp;gt;()) // 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;.def(&amp;quot;f&amp;quot;, &amp;X::f)
&lt;br&gt;&lt;br&gt;Note that you don't need to add a &amp;quot;default_f()&amp;quot; function to the wrapper
&lt;br&gt;type. This isn't mentioned in the docs, but it isn't needed in this case
&lt;br&gt;since there is no default implementation. Attempting to call &amp;quot;f()&amp;quot; when
&lt;br&gt;there is no override will give an &amp;quot;attempt to call nonexistant function&amp;quot;
&lt;br&gt;error.
&lt;br&gt;&lt;br&gt;Note also that you need to make the class constructible (1). This is
&lt;br&gt;needed so that a derived Lua class can call the base __init() function.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Daniel Wallin
&lt;br&gt;BoostPro Computing
&lt;br&gt;&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26792589&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-do-I-register-an-abstract-class-with-luabind--tp26792324p26792589.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26792382</id>
	<title>Re: Assertion failed</title>
	<published>2009-12-15T02:05:00Z</published>
	<updated>2009-12-15T02:05:00Z</updated>
	<author>
		<name>Daniel Wallin-4</name>
	</author>
	<content type="html">Sandro Ferreira wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, Dec 11, 2009 at 2:45 PM, Daniel Wallin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26792382&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Sandro Ferreira wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi Daniel,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; No, it's only the relevant code, just to show the assertion. The rest is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; only API definition (dllexport/dllimport).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I'm using Visual Studio 2005. I can send the complete code, if you need.
&lt;br&gt;&amp;gt;&amp;gt; Yes please, that would be very helpful.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Attached, the source code, projects and binary for windows.
&lt;br&gt;&amp;gt; I forgot to say I using Luabind and Lua (version 5.1.4) as dll, and boost
&lt;br&gt;&amp;gt; version 1.40.0.
&lt;/div&gt;&lt;br&gt;Thank you. Can you try the 0.9 branch? I've just commited a fix for this.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Daniel Wallin
&lt;br&gt;BoostPro Computing
&lt;br&gt;&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26792382&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Assertion-failed-tp26727570p26792382.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26762764</id>
	<title>Re: For 0.9? Avoiding string copy</title>
	<published>2009-12-12T17:22:57Z</published>
	<updated>2009-12-12T17:22:57Z</updated>
	<author>
		<name>liam mail</name>
	</author>
	<content type="html">Actually the better method is not to use the define yet wrap the function calls in parenthesis.&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;


For example (std::limits&amp;lt;int&amp;gt;::max)() exspecially if you use a max or min in a header which user code will see, as this removes the need for the user to also use the macro.&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;Hmm then again that thread does mention it and I see this is the diff in branch. Sorry ignore me.&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26762764&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Strange-behavour-in-Lua-classes---0.9.1-tp26655005p26762764.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26762741</id>
	<title>Re: For 0.9? Avoiding string copy</title>
	<published>2009-12-12T17:19:33Z</published>
	<updated>2009-12-12T17:19:33Z</updated>
	<author>
		<name>liam mail</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/13 Daniel Wallin &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26762741&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;div class=&quot;im&quot;&gt;Kristoffer Danielsson wrote:&lt;br&gt;
&amp;gt; Hmm... obviously, I included windows.h and min() and max() were defined.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I believe you can patch luabind to explicitly not use these defines, as described here:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://article.gmane.org/gmane.comp.lang.lua.bind.user/939&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://article.gmane.org/gmane.comp.lang.lua.bind.user/939&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Yes, thanks. Fixed in the 0.9 branch.&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
--&lt;br&gt;
Daniel Wallin&lt;br&gt;
BoostPro Computing&lt;br&gt;
&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Return on Information:&lt;br&gt;
Google Enterprise Search pays you back&lt;br&gt;
Get the facts.&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
luabind-user mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26762741&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt; &lt;/div&gt;&lt;/div&gt;Actually the better method is not to use the define yet wrap the function calls in parenthesis.&lt;br&gt;

For example (std::limits&amp;lt;int&amp;gt;::max)() exspecially if you use a max or min in a header which user code will see, as this removes the need for the user to also use the macro.&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26762741&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Strange-behavour-in-Lua-classes---0.9.1-tp26655005p26762741.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26762654</id>
	<title>Re: [ANN] luabind 0.9-rc1</title>
	<published>2009-12-12T17:02:48Z</published>
	<updated>2009-12-12T17:02:48Z</updated>
	<author>
		<name>Daniel Wallin-4</name>
	</author>
	<content type="html">Colm Sloan wrote:
&lt;br&gt;&amp;gt; Fantastic work. I didn't realize how much had been done. Where can I read
&lt;br&gt;&amp;gt; more about these two points?:
&lt;br&gt;&lt;br&gt;Both of these features are actually not documented due to lack of time.
&lt;br&gt;Here's a short explanation though:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp;* Automatically perform down-casts as well as up-casts when converting
&lt;br&gt;&amp;gt; &amp;nbsp; arguments from Lua to C++.
&lt;br&gt;&lt;br&gt;Rather than just cast up to base types, we search the graph in both
&lt;br&gt;directions. See example below.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp;* When converting from C++ to Lua, polymorphic instances are
&lt;br&gt;&amp;gt; &amp;nbsp; automatically cast to their most derived type.
&lt;br&gt;&lt;br&gt;This means that code like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; struct X
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; virtual ~X() {}
&lt;br&gt;&amp;nbsp; };
&lt;br&gt;&lt;br&gt;&amp;nbsp; struct Y : X
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; void f();
&lt;br&gt;&amp;nbsp; };
&lt;br&gt;&lt;br&gt;&amp;nbsp; X* make()
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; return new Y;
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; void take(Y*);
&lt;br&gt;&lt;br&gt;&amp;nbsp; ...
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; class_&amp;lt;X&amp;gt;(&amp;quot;X&amp;quot;),
&lt;br&gt;&amp;nbsp; &amp;nbsp; class_&amp;lt;Y, X&amp;gt;(&amp;quot;Y&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; .def(&amp;quot;f&amp;quot;, &amp;Y::f, adopt(result)),
&lt;br&gt;&amp;nbsp; &amp;nbsp; def(&amp;quot;make&amp;quot;, &amp;make),
&lt;br&gt;&amp;nbsp; &amp;nbsp; def(&amp;quot;take&amp;quot;, &amp;take)
&lt;br&gt;&lt;br&gt;.. and later in Lua:
&lt;br&gt;&lt;br&gt;&amp;nbsp; x = make()
&lt;br&gt;&amp;nbsp; x:f()
&lt;br&gt;&lt;br&gt;will work. The dynamic type of the instance returned from make() will be
&lt;br&gt;used to determine the class.
&lt;br&gt;&lt;br&gt;&amp;nbsp; take(x)
&lt;br&gt;&lt;br&gt;will also work, because luabind can cast the held X* down to a Y*.
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;-- 
&lt;br&gt;Daniel Wallin
&lt;br&gt;BoostPro Computing
&lt;br&gt;&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26762654&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ANN--luabind-0.9-rc1-tp26726464p26762654.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26762586</id>
	<title>Re: For 0.9? Avoiding string copy</title>
	<published>2009-12-12T16:48:37Z</published>
	<updated>2009-12-12T16:48:37Z</updated>
	<author>
		<name>Daniel Wallin-4</name>
	</author>
	<content type="html">Kristoffer Danielsson wrote:
&lt;br&gt;&amp;gt; Hmm... obviously, I included windows.h and min() and max() were defined.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I believe you can patch luabind to explicitly not use these defines, as described here:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://article.gmane.org/gmane.comp.lang.lua.bind.user/939&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://article.gmane.org/gmane.comp.lang.lua.bind.user/939&lt;/a&gt;&lt;br&gt;&lt;br&gt;Yes, thanks. Fixed in the 0.9 branch.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Daniel Wallin
&lt;br&gt;BoostPro Computing
&lt;br&gt;&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26762586&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Strange-behavour-in-Lua-classes---0.9.1-tp26655005p26762586.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26760957</id>
	<title>Re: For 0.9? Avoiding string copy</title>
	<published>2009-12-12T12:37:26Z</published>
	<updated>2009-12-12T12:37:26Z</updated>
	<author>
		<name>Kristoffer Danielsson</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
Hmm... obviously, I included windows.h and min() and max() were defined.&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
I believe you can patch luabind to&amp;nbsp;explicitly&amp;nbsp;not use these defines, as described here:&lt;BR&gt;
&lt;A href=&quot;http://article.gmane.org/gmane.comp.lang.lua.bind.user/939&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://article.gmane.org/gmane.comp.lang.lua.bind.user/939&lt;/A&gt;&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
&lt;BR&gt;&amp;nbsp;&lt;BR&gt;
&lt;HR id=stopSpelling&gt;
From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26760957&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kristoffer.danielsson@...&lt;/a&gt;&lt;BR&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26760957&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;BR&gt;Date: Sat, 12 Dec 2009 21:24:00 +0100&lt;BR&gt;Subject: Re: [luabind] For 0.9? Avoiding string copy&lt;BR&gt;&lt;BR&gt;

I tried&amp;nbsp;your code with 0.9 and got a lot of compilation errors. What did I do wrong?&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&lt;BR&gt;luabind\luabind\detail\inheritance.hpp(21) : warning C4003: not enough actual parameters for macro 'max'&lt;BR&gt;luabind\luabind\detail\inheritance.hpp(21) : error C2589: '(' : illegal token on right side of '::'&lt;BR&gt;luabind\luabind\detail\inheritance.hpp(21) : error C2059: syntax error : '::'&lt;BR&gt;luabind\luabind\detail\inheritance.hpp(21) : error C2059: syntax error : ')'&lt;BR&gt;luabind\luabind\detail\inheritance.hpp(21) : error C2059: syntax error : ')'&lt;BR&gt;luabind\luabind\detail\call.hpp(54) : warning C4003: not enough actual parameters for macro 'max'&lt;BR&gt;luabind\luabind\detail\call.hpp(53) : error C2589: '(' : illegal token on right side of '::'&lt;BR&gt;luabind\luabind\detail\call.hpp(53) : error C2143: syntax error : missing ')' before '::'&lt;BR&gt;luabind\luabind\detail\call.hpp(53) : error C2612: trailing '::' illegal in base/member initializer list&lt;BR&gt;luabind\luabind\detail\call.hpp(53) : error C2589: '(' : illegal token on right side of '::'&lt;BR&gt;luabind\luabind\detail\call.hpp(53) : error C2143: syntax error : missing ';' before '::'&lt;BR&gt;luabind\luabind\detail\call.hpp(53) : error C2059: syntax error : ')'&lt;BR&gt;luabind\luabind\detail\call.hpp(56) : error C2143: syntax error : missing ';' before '{'&lt;BR&gt;luabind\luabind\detail\call.hpp(70) : error C2951: template declarations are only permitted at global, namespace, or class scope&lt;BR&gt;luabind\luabind\detail\call.hpp(79) : error C2888: 'int invoke0(lua_State *,const luabind::detail::function_object &amp;amp;,luabind::detail::invoke_context &amp;amp;,const F &amp;amp;,Signature,const Policies &amp;amp;,IsVoid,boost::mpl::true_)' : symbol cannot be defined within namespace 'detail'&lt;BR&gt;luabind\luabind\detail\call.hpp(79) : fatal error C1506: unrecoverable block scoping error&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&lt;BR&gt;Thanks!&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&lt;div class='shrinkable-quote'&gt;&lt;BR&gt;&amp;gt; Date: Wed, 9 Dec 2009 17:58:01 +0100&lt;BR&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26760957&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel@...&lt;/a&gt;&lt;BR&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26760957&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;BR&gt;&amp;gt; Subject: Re: [luabind] For 0.9? Avoiding string copy&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; Kristoffer Danielsson wrote:&lt;BR&gt;&amp;gt; &amp;gt; Any chance you could add such a wrapper for 0.9? It's really painful&lt;BR&gt;&amp;gt; &amp;gt; to copy strings that do not need to be copied!&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; 0.9 is (mostly) in feature freeze, so I won't add anything like that at&lt;BR&gt;&amp;gt; least for now. You can easily do it by yourself though:&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; struct cstring_with_length&lt;BR&gt;&amp;gt; {&lt;BR&gt;&amp;gt; cstring_with_length(char const* s, std::size_t len)&lt;BR&gt;&amp;gt; : s(s)&lt;BR&gt;&amp;gt; , len(len)&lt;BR&gt;&amp;gt; {}&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; char const* s;&lt;BR&gt;&amp;gt; std::size_t len;&lt;BR&gt;&amp;gt; };&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; namespace luabind&lt;BR&gt;&amp;gt; {&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; template &amp;lt;&amp;gt;&lt;BR&gt;&amp;gt; struct default_converter&amp;lt;cstring_with_length&amp;gt;&lt;BR&gt;&amp;gt; : native_converter_base&amp;lt;cstring_with_length&amp;gt;&lt;BR&gt;&amp;gt; {&lt;BR&gt;&amp;gt; void to(lua_State* L, cstring_with_length const&amp;amp; str)&lt;BR&gt;&amp;gt; {&lt;BR&gt;&amp;gt; lua_pushlstring(L, str.s, str.len);&lt;BR&gt;&amp;gt; }&lt;BR&gt;&amp;gt; };&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; } // namespace luabind&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; -- &lt;BR&gt;&amp;gt; Daniel Wallin&lt;BR&gt;&amp;gt; BoostPro Computing&lt;BR&gt;&amp;gt; http://www.boostpro.com&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; ------------------------------------------------------------------------------&lt;BR&gt;&amp;gt; Return on Information:&lt;BR&gt;&amp;gt; Google Enterprise Search pays you back&lt;BR&gt;&amp;gt; Get the facts.&lt;BR&gt;&amp;gt; http://p.sf.net/sfu/google-dev2dev&lt;BR&gt;&amp;gt; _______________________________________________&lt;BR&gt;&amp;gt; luabind-user mailing list&lt;BR&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26760957&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;BR&gt;&amp;gt; https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/div&gt;&lt;BR&gt;
&lt;HR&gt;
Hitta kärleken! Klicka här &lt;A href=&quot;http://windows.microsoft.com/shop&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hitta en dator som passar dig!&lt;/A&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;Ladda ner nya Internet Explorer 8! &lt;a href='http://windowslive.se.msn.com/wl/downloads' target='_new' rel=&quot;nofollow&quot;&gt;Ladda ner nya Internet Explorer 8!&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26760957&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Strange-behavour-in-Lua-classes---0.9.1-tp26655005p26760957.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26760859</id>
	<title>Re: For 0.9? Avoiding string copy</title>
	<published>2009-12-12T12:24:00Z</published>
	<updated>2009-12-12T12:24:00Z</updated>
	<author>
		<name>Kristoffer Danielsson</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
I tried&amp;nbsp;your code with 0.9 and got a lot of compilation errors. What did I do wrong?&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
luabind\luabind\detail\inheritance.hpp(21) : warning C4003: not enough actual parameters for macro 'max'&lt;BR&gt;luabind\luabind\detail\inheritance.hpp(21) : error C2589: '(' : illegal token on right side of '::'&lt;BR&gt;luabind\luabind\detail\inheritance.hpp(21) : error C2059: syntax error : '::'&lt;BR&gt;luabind\luabind\detail\inheritance.hpp(21) : error C2059: syntax error : ')'&lt;BR&gt;luabind\luabind\detail\inheritance.hpp(21) : error C2059: syntax error : ')'&lt;BR&gt;luabind\luabind\detail\call.hpp(54) : warning C4003: not enough actual parameters for macro 'max'&lt;BR&gt;luabind\luabind\detail\call.hpp(53) : error C2589: '(' : illegal token on right side of '::'&lt;BR&gt;luabind\luabind\detail\call.hpp(53) : error C2143: syntax error : missing ')' before '::'&lt;BR&gt;luabind\luabind\detail\call.hpp(53) : error C2612: trailing '::' illegal in base/member initializer list&lt;BR&gt;luabind\luabind\detail\call.hpp(53) : error C2589: '(' : illegal token on right side of '::'&lt;BR&gt;luabind\luabind\detail\call.hpp(53) : error C2143: syntax error : missing ';' before '::'&lt;BR&gt;luabind\luabind\detail\call.hpp(53) : error C2059: syntax error : ')'&lt;BR&gt;luabind\luabind\detail\call.hpp(56) : error C2143: syntax error : missing ';' before '{'&lt;BR&gt;luabind\luabind\detail\call.hpp(70) : error C2951: template declarations are only permitted at global, namespace, or class scope&lt;BR&gt;luabind\luabind\detail\call.hpp(79) : error C2888: 'int invoke0(lua_State *,const luabind::detail::function_object &amp;amp;,luabind::detail::invoke_context &amp;amp;,const F &amp;amp;,Signature,const Policies &amp;amp;,IsVoid,boost::mpl::true_)' : symbol cannot be defined within namespace 'detail'&lt;BR&gt;luabind\luabind\detail\call.hpp(79) : fatal error C1506: unrecoverable block scoping error&lt;BR&gt;&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
Thanks!&lt;BR&gt;
&lt;BR&gt;&amp;nbsp;&lt;div class='shrinkable-quote'&gt;&lt;BR&gt;&amp;gt; Date: Wed, 9 Dec 2009 17:58:01 +0100&lt;BR&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26760859&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel@...&lt;/a&gt;&lt;BR&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26760859&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;BR&gt;&amp;gt; Subject: Re: [luabind] For 0.9? Avoiding string copy&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; Kristoffer Danielsson wrote:&lt;BR&gt;&amp;gt; &amp;gt; Any chance you could add such a wrapper for 0.9? It's really painful&lt;BR&gt;&amp;gt; &amp;gt; to copy strings that do not need to be copied!&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; 0.9 is (mostly) in feature freeze, so I won't add anything like that at&lt;BR&gt;&amp;gt; least for now. You can easily do it by yourself though:&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; struct cstring_with_length&lt;BR&gt;&amp;gt; {&lt;BR&gt;&amp;gt; cstring_with_length(char const* s, std::size_t len)&lt;BR&gt;&amp;gt; : s(s)&lt;BR&gt;&amp;gt; , len(len)&lt;BR&gt;&amp;gt; {}&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; char const* s;&lt;BR&gt;&amp;gt; std::size_t len;&lt;BR&gt;&amp;gt; };&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; namespace luabind&lt;BR&gt;&amp;gt; {&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; template &amp;lt;&amp;gt;&lt;BR&gt;&amp;gt; struct default_converter&amp;lt;cstring_with_length&amp;gt;&lt;BR&gt;&amp;gt; : native_converter_base&amp;lt;cstring_with_length&amp;gt;&lt;BR&gt;&amp;gt; {&lt;BR&gt;&amp;gt; void to(lua_State* L, cstring_with_length const&amp;amp; str)&lt;BR&gt;&amp;gt; {&lt;BR&gt;&amp;gt; lua_pushlstring(L, str.s, str.len);&lt;BR&gt;&amp;gt; }&lt;BR&gt;&amp;gt; };&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; } // namespace luabind&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; -- &lt;BR&gt;&amp;gt; Daniel Wallin&lt;BR&gt;&amp;gt; BoostPro Computing&lt;BR&gt;&amp;gt; http://www.boostpro.com&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; ------------------------------------------------------------------------------&lt;BR&gt;&amp;gt; Return on Information:&lt;BR&gt;&amp;gt; Google Enterprise Search pays you back&lt;BR&gt;&amp;gt; Get the facts.&lt;BR&gt;&amp;gt; http://p.sf.net/sfu/google-dev2dev&lt;BR&gt;&amp;gt; _______________________________________________&lt;BR&gt;&amp;gt; luabind-user mailing list&lt;BR&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26760859&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;BR&gt;&amp;gt; https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/div&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;Hitta kärleken! Klicka här &lt;a href='http://windows.microsoft.com/shop' target='_new' rel=&quot;nofollow&quot;&gt;Hitta en dator som passar dig!&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26760859&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Strange-behavour-in-Lua-classes---0.9.1-tp26655005p26760859.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26792331</id>
	<title>Re: Assertion failed</title>
	<published>2009-12-11T09:16:56Z</published>
	<updated>2009-12-11T09:16:56Z</updated>
	<author>
		<name>Sandro Ferreira</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Dec 11, 2009 at 2:45 PM, Daniel Wallin &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26792331&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;Sandro Ferreira wrote:&lt;br&gt;
&amp;gt; Hi Daniel,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; No, it&amp;#39;s only the relevant code, just to show the assertion. The rest is&lt;br&gt;
&amp;gt; only API definition (dllexport/dllimport).&lt;br&gt;
&amp;gt; I&amp;#39;m using Visual Studio 2005. I can send the complete code, if you need.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Yes please, that would be very helpful.&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;Daniel Wallin&lt;br&gt;
BoostPro Computing&lt;br&gt;
&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Return on Information:&lt;br&gt;
Google Enterprise Search pays you back&lt;br&gt;
Get the facts.&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
luabind-user mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26792331&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;Hi Daniel,&lt;br&gt;&lt;br&gt;Attached, the source code, projects and binary for windows.&lt;br&gt;I forgot to say I using Luabind and Lua (version 5.1.4) as dll, and boost version 1.40.0.&lt;br&gt;
&lt;br&gt;Thanks.&lt;br&gt;-- &lt;br&gt;Sandro Souza Ferreira&lt;br&gt;
&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26792331&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;CMod.zip&lt;/strong&gt; (197K) &lt;a href=&quot;http://old.nabble.com/attachment/26792331/0/CMod.zip&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Assertion-failed-tp26727570p26792331.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26747617</id>
	<title>Re: Assertion failed</title>
	<published>2009-12-11T08:45:12Z</published>
	<updated>2009-12-11T08:45:12Z</updated>
	<author>
		<name>Daniel Wallin-4</name>
	</author>
	<content type="html">Sandro Ferreira wrote:
&lt;br&gt;&amp;gt; Hi Daniel,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No, it's only the relevant code, just to show the assertion. The rest is
&lt;br&gt;&amp;gt; only API definition (dllexport/dllimport).
&lt;br&gt;&amp;gt; I'm using Visual Studio 2005. I can send the complete code, if you need.
&lt;br&gt;&lt;br&gt;Yes please, that would be very helpful.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Daniel Wallin
&lt;br&gt;BoostPro Computing
&lt;br&gt;&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26747617&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Assertion-failed-tp26727570p26747617.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26747442</id>
	<title>Re: Assertion failed</title>
	<published>2009-12-11T08:36:18Z</published>
	<updated>2009-12-11T08:36:18Z</updated>
	<author>
		<name>Sandro Ferreira</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Dec 10, 2009 at 8:14 PM, Daniel Wallin &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26747442&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;Sandro Ferreira wrote:&lt;br&gt;
&amp;gt; Hi everybody,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I having an &amp;quot;assertion failed&amp;quot; on line 102 of inheritance.hpp file.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I&amp;#39;m using the latest version of github, and it&amp;#39;s an error of the new&lt;br&gt;
&amp;gt; version, becouse same code works on version 0.8.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I have two modules (dlls).&lt;br&gt;
&amp;gt; The modules have the folowing code:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; -- Module1 {&lt;br&gt;
&amp;gt; class MOD1_API CMod1 {&lt;br&gt;
&amp;gt; public:&lt;br&gt;
&amp;gt;     CMod1(void) { fprintf_s(stdout, &amp;quot;CMod1::CMod1()\n&amp;quot;); }&lt;br&gt;
&amp;gt;     ~CMod1(void){ fprintf_s(stdout, &amp;quot;CMod1::~CMod1()\n&amp;quot;); }&lt;br&gt;
&amp;gt; };&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; extern &amp;quot;C&amp;quot; MOD1_API int luaopen_CMod1(lua_State* L)&lt;br&gt;
&amp;gt; {&lt;br&gt;
&amp;gt;     if (luabind::detail::class_registry::get_registry(L) == 0)&lt;br&gt;
&amp;gt;         luabind::open(L);&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;     luabind::module(L)&lt;br&gt;
&amp;gt;     [   luabind::class_&amp;lt;CMod1&amp;gt;(&amp;quot;CMod1&amp;quot;)&lt;br&gt;
&amp;gt;            .def(luabind::constructor&amp;lt;&amp;gt;())&lt;br&gt;
&amp;gt;     ];&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;     return 0;&lt;br&gt;
&amp;gt; }&lt;br&gt;
&amp;gt; -- }&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; -- Module2 {&lt;br&gt;
&amp;gt; class MOD2_API CMod2 {&lt;br&gt;
&amp;gt; public:&lt;br&gt;
&amp;gt;     CMod2(void) { fprintf_s(stdout, &amp;quot;CMod2::CMod2()\n&amp;quot;); }&lt;br&gt;
&amp;gt;     ~CMod2(void){ fprintf_s(stdout, &amp;quot;CMod2::~CMod2()\n&amp;quot;); }&lt;br&gt;
&amp;gt; };&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; extern &amp;quot;C&amp;quot; MOD1_API int luaopen_CMod2(lua_State* L)&lt;br&gt;
&amp;gt; {&lt;br&gt;
&amp;gt;     if (luabind::detail::class_registry::get_registry(L) == 0)&lt;br&gt;
&amp;gt;         luabind::open(L);&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;     luabind::module(L)&lt;br&gt;
&amp;gt;     [   luabind::class_&amp;lt;CMod2&amp;gt;(&amp;quot;CMod2&amp;quot;)&lt;br&gt;
&amp;gt;            .def(luabind::constructor&amp;lt;&amp;gt;())&lt;br&gt;
&amp;gt;     ];&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;     return 0;&lt;br&gt;
&amp;gt; }&lt;br&gt;
&amp;gt; -- }&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;So this is the complete code? Nothing else? Which compiler are you using?&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
Daniel Wallin&lt;br&gt;
BoostPro Computing&lt;br&gt;
&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Return on Information:&lt;br&gt;
Google Enterprise Search pays you back&lt;br&gt;
Get the facts.&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
luabind-user mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26747442&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;Hi Daniel,&lt;br&gt;
&lt;br&gt;No, it&amp;#39;s only the relevant code, just to show the assertion. The rest is only API definition (dllexport/dllimport).&lt;br&gt;I&amp;#39;m using Visual Studio 2005. I can send the complete code, if you need.&lt;br&gt;&lt;br&gt;
Thanks.&lt;br&gt;
--&lt;br&gt;
Sandro Souza Ferreira&lt;br&gt;
&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26747442&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Assertion-failed-tp26727570p26747442.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26737062</id>
	<title>Re: [ANN] luabind 0.9-rc1</title>
	<published>2009-12-10T16:48:43Z</published>
	<updated>2009-12-10T16:48:43Z</updated>
	<author>
		<name>Colm Sloan</name>
	</author>
	<content type="html">Fantastic work. I didn&amp;#39;t realize how much had been done. Where can I read more about these two points?:&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; &quot;&gt; * Automatically perform down-casts as well as up-casts when converting&lt;br&gt;
  arguments from Lua to C++.&lt;br&gt;&lt;br&gt; * When converting from C++ to Lua, polymorphic instances are&lt;br&gt;  automatically cast to their most derived type.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; &quot;&gt;&lt;br&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; &quot;&gt;I&amp;#39;d like to give these a try.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26737062&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ANN--luabind-0.9-rc1-tp26726464p26737062.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26735785</id>
	<title>Re: [ANN] luabind 0.9-rc1</title>
	<published>2009-12-10T14:38:28Z</published>
	<updated>2009-12-10T14:38:28Z</updated>
	<author>
		<name>liam mail</name>
	</author>
	<content type="html">&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
Are you sure you built the benchmark correctly with 0.9?&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;I must of messed the build up or had something running in the background that I was not aware of.&lt;br&gt;&lt;br&gt;OOLua access (average elapsed time):    0.7937&lt;br&gt;OOLua passing derived to a function that wants a base  (average elapsed time):0.836&lt;br&gt;

OOLua passing derived with multiple bases to a function that wants a base  (average elapsed time):      0.8172&lt;br&gt;OOLua virtual function  (average elapsed time): 0.3219&lt;br&gt;OOLua pure virtual function  (average elapsed time):    0.3281&lt;br&gt;

OOLua - Lua function which takes a base and calls a virtual function (average elapsed time): 0.3125&lt;br&gt;Swig access (average elapsed time):     1.4828&lt;br&gt;Swig passing derived to a function that wants a base  (average elapsed time):0.7703&lt;br&gt;

Swig passing derived with multiple bases to a function that wants a base  (average elapsed time):       0.7829&lt;br&gt;Swig virtual function  (average elapsed time):  0.7078&lt;br&gt;Swig pure virtual function  (average elapsed time):     0.7063&lt;br&gt;

Swig - Lua function which takes a base and calls a virtual function (average elapsed time): 0.6984&lt;br&gt;Luabind access (average elapsed time):  1.1156&lt;br&gt;Luabind passing derived to a function that wants a base  (average elapsed time): 0.8375&lt;br&gt;

Luabind passing derived with multiple bases to a function that wants a base (average elapsed time):     0.8625&lt;br&gt;Luabind virtual function  (average elapsed time):       0.5859&lt;br&gt;Luabind pure virtual function  (average elapsed time):  0.5828&lt;br&gt;

Luabind - Lua function which takes a base and calls a virtual function (average elapsed time): 0.5265&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26735785&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ANN--luabind-0.9-rc1-tp26726464p26735785.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26735488</id>
	<title>Re: Assertion failed</title>
	<published>2009-12-10T14:14:08Z</published>
	<updated>2009-12-10T14:14:08Z</updated>
	<author>
		<name>Daniel Wallin-4</name>
	</author>
	<content type="html">Sandro Ferreira wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi everybody,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I having an &amp;quot;assertion failed&amp;quot; on line 102 of inheritance.hpp file.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm using the latest version of github, and it's an error of the new
&lt;br&gt;&amp;gt; version, becouse same code works on version 0.8.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have two modules (dlls).
&lt;br&gt;&amp;gt; The modules have the folowing code:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- Module1 {
&lt;br&gt;&amp;gt; class MOD1_API CMod1 {
&lt;br&gt;&amp;gt; public:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; CMod1(void) { fprintf_s(stdout, &amp;quot;CMod1::CMod1()\n&amp;quot;); }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ~CMod1(void){ fprintf_s(stdout, &amp;quot;CMod1::~CMod1()\n&amp;quot;); }
&lt;br&gt;&amp;gt; };
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; extern &amp;quot;C&amp;quot; MOD1_API int luaopen_CMod1(lua_State* L)
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if (luabind::detail::class_registry::get_registry(L) == 0)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; luabind::open(L);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; luabind::module(L)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; [ &amp;nbsp; luabind::class_&amp;lt;CMod1&amp;gt;(&amp;quot;CMod1&amp;quot;)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.def(luabind::constructor&amp;lt;&amp;gt;())
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ];
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; return 0;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; -- }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- Module2 {
&lt;br&gt;&amp;gt; class MOD2_API CMod2 {
&lt;br&gt;&amp;gt; public:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; CMod2(void) { fprintf_s(stdout, &amp;quot;CMod2::CMod2()\n&amp;quot;); }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ~CMod2(void){ fprintf_s(stdout, &amp;quot;CMod2::~CMod2()\n&amp;quot;); }
&lt;br&gt;&amp;gt; };
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; extern &amp;quot;C&amp;quot; MOD1_API int luaopen_CMod2(lua_State* L)
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if (luabind::detail::class_registry::get_registry(L) == 0)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; luabind::open(L);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; luabind::module(L)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; [ &amp;nbsp; luabind::class_&amp;lt;CMod2&amp;gt;(&amp;quot;CMod2&amp;quot;)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.def(luabind::constructor&amp;lt;&amp;gt;())
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ];
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; return 0;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; -- }
&lt;/div&gt;&lt;br&gt;So this is the complete code? Nothing else? Which compiler are you using?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Daniel Wallin
&lt;br&gt;BoostPro Computing
&lt;br&gt;&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26735488&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Assertion-failed-tp26727570p26735488.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26735453</id>
	<title>Re: [ANN] luabind 0.9-rc1</title>
	<published>2009-12-10T14:10:19Z</published>
	<updated>2009-12-10T14:10:19Z</updated>
	<author>
		<name>Dean Harding-3</name>
	</author>
	<content type="html">&amp;gt; Are you sure you built the benchmark correctly with 0.9?
&lt;br&gt;&lt;br&gt;Perhaps it was compiled without specifying _SECURE_SCL=0? Just a guess...
&lt;br&gt;&lt;br&gt;Dean.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26735453&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ANN--luabind-0.9-rc1-tp26726464p26735453.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26735181</id>
	<title>Re: [ANN] luabind 0.9-rc1</title>
	<published>2009-12-10T13:50:16Z</published>
	<updated>2009-12-10T13:50:16Z</updated>
	<author>
		<name>Daniel Wallin-4</name>
	</author>
	<content type="html">liam mail wrote:
&lt;br&gt;&amp;gt; Ok I ran the same test using g++ (Ubuntu 4.4.1-4ubuntu8) 4.4.1
&lt;br&gt;&amp;gt; I got the same results as you did, it seems you have made huge improvements
&lt;br&gt;&amp;gt; for the gcc version by for some reason mscv is lagging.
&lt;br&gt;&lt;br&gt;Here are my results for VC9.0:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; OOLua access (average elapsed time): &amp;nbsp; &amp;nbsp;0.4719
&lt;br&gt;&amp;gt; OOLua passing derived to a function that wants a base &amp;nbsp;(average elapsed time): 0.4188
&lt;br&gt;&amp;gt; OOLua passing derived with multiple bases to a function that wants a base &amp;nbsp;(average elapsed time): &amp;nbsp; &amp;nbsp; &amp;nbsp;0.4328
&lt;br&gt;&amp;gt; OOLua virtual function &amp;nbsp;(average elapsed time): 0.2046
&lt;br&gt;&amp;gt; OOLua pure virtual function &amp;nbsp;(average elapsed time): &amp;nbsp; &amp;nbsp;0.2156
&lt;br&gt;&amp;gt; OOLua - Lua function which takes a base and calls a virtual function (average elapsed time): 0.2031
&lt;br&gt;&amp;gt; Swig access (average elapsed time): &amp;nbsp; &amp;nbsp; 0.9297
&lt;br&gt;&amp;gt; Swig passing derived to a function that wants a base &amp;nbsp;(average elapsed time): 0.4781
&lt;br&gt;&amp;gt; Swig passing derived with multiple bases to a function that wants a base &amp;nbsp;(average elapsed time): &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.4922
&lt;br&gt;&amp;gt; Swig virtual function &amp;nbsp;(average elapsed time): &amp;nbsp;0.4313
&lt;br&gt;&amp;gt; Swig pure virtual function &amp;nbsp;(average elapsed time): &amp;nbsp; &amp;nbsp; 0.4344
&lt;br&gt;&amp;gt; Swig - Lua function which takes a base and calls a virtual function (average elapsed time): 0.4297
&lt;br&gt;&amp;gt; Luabind access (average elapsed time): &amp;nbsp;0.7953
&lt;br&gt;&amp;gt; Luabind passing derived to a function that wants a base &amp;nbsp;(average elapsed time): &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.5734
&lt;br&gt;&amp;gt; Luabind passing derived with multiple bases to a function that wants a base (average elapsed time): &amp;nbsp; &amp;nbsp; 0.5921
&lt;br&gt;&amp;gt; Luabind virtual function &amp;nbsp;(average elapsed time): &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.4656
&lt;br&gt;&amp;gt; Luabind pure virtual function &amp;nbsp;(average elapsed time): &amp;nbsp;0.4719
&lt;br&gt;&amp;gt; Luabind - Lua function which takes a base and calls a virtual function (average elapsed time): 0.4093
&lt;/div&gt;&lt;br&gt;Are you sure you built the benchmark correctly with 0.9?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Daniel Wallin
&lt;br&gt;BoostPro Computing
&lt;br&gt;&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26735181&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ANN--luabind-0.9-rc1-tp26726464p26735181.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26735104</id>
	<title>Re: [ANN] luabind 0.9-rc1</title>
	<published>2009-12-10T13:44:46Z</published>
	<updated>2009-12-10T13:44:46Z</updated>
	<author>
		<name>liam mail</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/10 Daniel Wallin &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26735104&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;div class=&quot;im&quot;&gt;Tony Kostanjsek wrote:&lt;br&gt;
&amp;gt;&amp;gt; So I tried the tar.gz packaged download and &amp;quot;simply dropping the&lt;br&gt;
&amp;gt;&amp;gt; source files in a Visual Studio project&amp;quot; yet I get errors.&lt;br&gt;
&amp;gt;&amp;gt; find_best_match.hpp seems to have been removed form luabind/detail&lt;br&gt;
&amp;gt;&amp;gt; find_best_match.cpp&lt;br&gt;
&amp;gt;&amp;gt; .\src\find_best_match.cpp(31) : error C2039: &amp;#39;find_best_match&amp;#39; : is&lt;br&gt;
&amp;gt;&amp;gt; not a member of &amp;#39;luabind::detail&amp;#39;&lt;br&gt;
&amp;gt;&amp;gt; .\src\find_best_match.cpp(33) : error C2061: syntax error :&lt;br&gt;
&amp;gt;&amp;gt; identifier &amp;#39;overload_rep_base&amp;#39;&lt;br&gt;
&amp;gt;&amp;gt; .\src\find_best_match.cpp(44) : error C2065: &amp;#39;num_overloads&amp;#39; :&lt;br&gt;
&amp;gt;&amp;gt; undeclared identifier&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I encountered the same error, but could build and run my project after&lt;br&gt;
&amp;gt; removing find_best_match.cpp. That was 0.9 from github, 1 or 2 weeks&lt;br&gt;
&amp;gt; ago, haven&amp;#39;t tried the newest version yet.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Yes, it&amp;#39;s an old left over file. Will remove for release. Thanks.&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;
&lt;/font&gt;&lt;div class=&quot;im&quot;&gt;Daniel Wallin&lt;br&gt;
BoostPro Computing&lt;br&gt;
&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;Return on Information:&lt;br&gt;
Google Enterprise Search pays you back&lt;br&gt;
Get the facts.&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
luabind-user mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26735104&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;Ok I ran the same test using g++ (Ubuntu 4.4.1-4ubuntu8) 4.4.1&lt;br&gt;I got the same results as you did, it seems you have made huge improvements for the gcc version by for some reason mscv is lagging.&lt;br&gt;

&lt;br&gt;OOLua access (average elapsed time):    0.762&lt;br&gt;OOLua passing derived to a function that wants a base  (average elapsed time):    0.879&lt;br&gt;OOLua passing derived with multiple bases to a function that wants a base  (average elapsed time):    0.856&lt;br&gt;

OOLua virtual function  (average elapsed time):    0.346&lt;br&gt;OOLua pure virtual function  (average elapsed time):    0.356&lt;br&gt;OOLua - Lua function which takes a base and calls a virtual function (average elapsed time): 0.379&lt;br&gt;

Swig access (average elapsed time):    1.557&lt;br&gt;Swig passing derived to a function that wants a base  (average elapsed time):    0.789&lt;br&gt;Swig passing derived with multiple bases to a function that wants a base  (average elapsed time):    0.835&lt;br&gt;

Swig virtual function  (average elapsed time):    0.716&lt;br&gt;Swig pure virtual function  (average elapsed time):    0.724&lt;br&gt;Swig - Lua function which takes a base and calls a virtual function (average elapsed time): 0.713&lt;br&gt;

Luabind access (average elapsed time):    1.05&lt;br&gt;Luabind passing derived to a function that wants a base  (average elapsed time):0.701&lt;br&gt;Luabind passing derived with multiple bases to a function that wants a base (average elapsed time):    0.696&lt;br&gt;

Luabind virtual function  (average elapsed time):    0.524&lt;br&gt;Luabind pure virtual function  (average elapsed time):    0.524&lt;br&gt;Luabind - Lua function which takes a base and calls a virtual function (average elapsed time):&lt;br&gt;

&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26735104&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ANN--luabind-0.9-rc1-tp26726464p26735104.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26734826</id>
	<title>Re: [ANN] luabind 0.9-rc1</title>
	<published>2009-12-10T13:27:36Z</published>
	<updated>2009-12-10T13:27:36Z</updated>
	<author>
		<name>Daniel Wallin-4</name>
	</author>
	<content type="html">Tony Kostanjsek wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; So I tried the tar.gz packaged download and &amp;quot;simply dropping the &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; source files in a Visual Studio project&amp;quot; yet I get errors. &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; find_best_match.hpp seems to have been removed form luabind/detail
&lt;br&gt;&amp;gt;&amp;gt; find_best_match.cpp
&lt;br&gt;&amp;gt;&amp;gt; .\src\find_best_match.cpp(31) : error C2039: 'find_best_match' : is &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; not a member of 'luabind::detail'
&lt;br&gt;&amp;gt;&amp;gt; .\src\find_best_match.cpp(33) : error C2061: syntax error : &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; identifier 'overload_rep_base'
&lt;br&gt;&amp;gt;&amp;gt; .\src\find_best_match.cpp(44) : error C2065: 'num_overloads' : &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; undeclared identifier
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I encountered the same error, but could build and run my project after &amp;nbsp;
&lt;br&gt;&amp;gt; removing find_best_match.cpp. That was 0.9 from github, 1 or 2 weeks &amp;nbsp;
&lt;br&gt;&amp;gt; ago, haven't tried the newest version yet. 
&lt;/div&gt;&lt;br&gt;Yes, it's an old left over file. Will remove for release. Thanks.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Daniel Wallin
&lt;br&gt;BoostPro Computing
&lt;br&gt;&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26734826&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ANN--luabind-0.9-rc1-tp26726464p26734826.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26734825</id>
	<title>Re: [ANN] luabind 0.9-rc1</title>
	<published>2009-12-10T13:27:00Z</published>
	<updated>2009-12-10T13:27:00Z</updated>
	<author>
		<name>Daniel Wallin-4</name>
	</author>
	<content type="html">liam mail wrote:
&lt;br&gt;&amp;gt; Is there a packaging mistake for the 0.9rc1 zip file, I still see the
&lt;br&gt;&amp;gt; directory inside named luabind-0.8.1 and the speed it almost the same?
&lt;br&gt;&lt;br&gt;Uh, no. Are you sure you didn't just download the wrong file? I just
&lt;br&gt;double checked.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Daniel Wallin
&lt;br&gt;BoostPro Computing
&lt;br&gt;&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26734825&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ANN--luabind-0.9-rc1-tp26726464p26734825.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26733289</id>
	<title>Re: [ANN] luabind 0.9-rc1</title>
	<published>2009-12-10T11:37:17Z</published>
	<updated>2009-12-10T11:37:17Z</updated>
	<author>
		<name>liam mail</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/10 Daniel Wallin &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26733289&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;div class=&quot;im&quot;&gt;liam mail wrote:&lt;br&gt;
&amp;gt; Daniel would you mind sharing your speed tests which you have previously&lt;br&gt;
&amp;gt; claimed were on par with Swig as I am not seeing the speeds you are talking&lt;br&gt;
&amp;gt; about.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;I will, but my benchmark suite currently isn&amp;#39;t usable outside my&lt;br&gt;
development environment. I will try to make time to fix it up, and when&lt;br&gt;
I have I will publish the code.&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;Thanks that would be good.&lt;br&gt; &lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div class=&quot;im&quot;&gt;


&amp;gt; In this releases notes you say &amp;quot;Major optimizations. For example, calling&lt;br&gt;
&amp;gt; member functions should be close to twice as fast.&amp;quot;&lt;br&gt;
&amp;gt; Luabind 9.0rc1 tests &lt;a href=&quot;http://pastebin.com/f72880a97&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/f72880a97&lt;/a&gt;&lt;br&gt;
&amp;gt; Luabind 8.1 tests &lt;a href=&quot;http://code.google.com/p/oolua/wiki/Speed_comparisons&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/oolua/wiki/Speed_comparisons&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Now I know Luabind can do more than OOLua and I would like to have results&lt;br&gt;
&amp;gt; which are fair, so if there is anything which you think I should be doing in&lt;br&gt;
&amp;gt; the tests or more defines to speed it up please do inform me.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Which compiler are you using for this? I just tried you benchmark, after&lt;br&gt;
some fiddling to make it build, and while my results match yours for&lt;br&gt;
0.8.1, for 0.9 they are completely different:&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;Fiddling? I have built this using gcc on many flavours of linux, yet I would be very grateful if you could inform me of any changes you had to make.&lt;br&gt; &lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;


&amp;gt; OOLua access (average elapsed time):  0.698&lt;br&gt;
&amp;gt; OOLua passing derived to a function that wants a base  (average elapsed time):        0.719&lt;br&gt;
&amp;gt; OOLua passing derived with multiple bases to a function that wants a base  (average elapsed time):    0.747&lt;br&gt;
&amp;gt; OOLua virtual function  (average elapsed time):       0.338&lt;br&gt;
&amp;gt; OOLua pure virtual function  (average elapsed time):  0.341&lt;br&gt;
&amp;gt; OOLua - Lua function which takes a base and calls a virtual function (average elapsed time): 0.309&lt;br&gt;
&amp;gt; Swig access (average elapsed time):   1.582&lt;br&gt;
&amp;gt; Swig passing derived to a function that wants a base  (average elapsed time): 0.797&lt;br&gt;
&amp;gt; Swig passing derived with multiple bases to a function that wants a base  (average elapsed time):     0.835&lt;br&gt;
&amp;gt; Swig virtual function  (average elapsed time):        0.747&lt;br&gt;
&amp;gt; Swig pure virtual function  (average elapsed time):   0.755&lt;br&gt;
&amp;gt; Swig - Lua function which takes a base and calls a virtual function (average elapsed time): 0.74&lt;br&gt;
&amp;gt; Luabind access (average elapsed time):        1.089&lt;br&gt;
&amp;gt; Luabind passing derived to a function that wants a base  (average elapsed time):      0.659&lt;br&gt;
&amp;gt; Luabind passing derived with multiple bases to a function that wants a base (average elapsed time):   0.673&lt;br&gt;
&amp;gt; Luabind virtual function  (average elapsed time):     0.515&lt;br&gt;
&amp;gt; Luabind pure virtual function  (average elapsed time):        0.517&lt;br&gt;
&amp;gt; Luabind - Lua function which takes a base and calls a virtual function (average elapsed time): 0.502&lt;br&gt;
&lt;br&gt;
This is with:&lt;br&gt;
&lt;br&gt;
  gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;div&gt;Yes that is vastly different, I will the check the new rc which a couple of OS&amp;#39;s I have here. The results I posted where from Visual Studio 9 sp1.&lt;br&gt;&lt;br&gt;Liam&lt;br&gt; &lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26733289&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ANN--luabind-0.9-rc1-tp26726464p26733289.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26732533</id>
	<title>Re: [ANN] luabind 0.9-rc1</title>
	<published>2009-12-10T10:49:13Z</published>
	<updated>2009-12-10T10:49:13Z</updated>
	<author>
		<name>Daniel Wallin-4</name>
	</author>
	<content type="html">liam mail wrote:
&lt;br&gt;&amp;gt; Daniel would you mind sharing your speed tests which you have previously
&lt;br&gt;&amp;gt; claimed were on par with Swig as I am not seeing the speeds you are talking
&lt;br&gt;&amp;gt; about.
&lt;br&gt;&lt;br&gt;I will, but my benchmark suite currently isn't usable outside my
&lt;br&gt;development environment. I will try to make time to fix it up, and when
&lt;br&gt;I have I will publish the code.
&lt;br&gt;&lt;br&gt;&amp;gt; In this releases notes you say &amp;quot;Major optimizations. For example, calling
&lt;br&gt;&amp;gt; member functions should be close to twice as fast.&amp;quot;
&lt;br&gt;&amp;gt; Luabind 9.0rc1 tests &lt;a href=&quot;http://pastebin.com/f72880a97&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/f72880a97&lt;/a&gt;&lt;br&gt;&amp;gt; Luabind 8.1 tests &lt;a href=&quot;http://code.google.com/p/oolua/wiki/Speed_comparisons&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/oolua/wiki/Speed_comparisons&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now I know Luabind can do more than OOLua and I would like to have results
&lt;br&gt;&amp;gt; which are fair, so if there is anything which you think I should be doing in
&lt;br&gt;&amp;gt; the tests or more defines to speed it up please do inform me.
&lt;br&gt;&lt;br&gt;Which compiler are you using for this? I just tried you benchmark, after
&lt;br&gt;some fiddling to make it build, and while my results match yours for
&lt;br&gt;0.8.1, for 0.9 they are completely different:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; OOLua access (average elapsed time):	0.698
&lt;br&gt;&amp;gt; OOLua passing derived to a function that wants a base &amp;nbsp;(average elapsed time):	0.719
&lt;br&gt;&amp;gt; OOLua passing derived with multiple bases to a function that wants a base &amp;nbsp;(average elapsed time):	0.747
&lt;br&gt;&amp;gt; OOLua virtual function &amp;nbsp;(average elapsed time):	0.338
&lt;br&gt;&amp;gt; OOLua pure virtual function &amp;nbsp;(average elapsed time):	0.341
&lt;br&gt;&amp;gt; OOLua - Lua function which takes a base and calls a virtual function (average elapsed time): 0.309
&lt;br&gt;&amp;gt; Swig access (average elapsed time):	1.582
&lt;br&gt;&amp;gt; Swig passing derived to a function that wants a base &amp;nbsp;(average elapsed time):	0.797
&lt;br&gt;&amp;gt; Swig passing derived with multiple bases to a function that wants a base &amp;nbsp;(average elapsed time):	0.835
&lt;br&gt;&amp;gt; Swig virtual function &amp;nbsp;(average elapsed time):	0.747
&lt;br&gt;&amp;gt; Swig pure virtual function &amp;nbsp;(average elapsed time):	0.755
&lt;br&gt;&amp;gt; Swig - Lua function which takes a base and calls a virtual function (average elapsed time): 0.74
&lt;br&gt;&amp;gt; Luabind access (average elapsed time):	1.089
&lt;br&gt;&amp;gt; Luabind passing derived to a function that wants a base &amp;nbsp;(average elapsed time):	0.659
&lt;br&gt;&amp;gt; Luabind passing derived with multiple bases to a function that wants a base (average elapsed time):	0.673
&lt;br&gt;&amp;gt; Luabind virtual function &amp;nbsp;(average elapsed time):	0.515
&lt;br&gt;&amp;gt; Luabind pure virtual function &amp;nbsp;(average elapsed time):	0.517
&lt;br&gt;&amp;gt; Luabind - Lua function which takes a base and calls a virtual function (average elapsed time): 0.502
&lt;/div&gt;&lt;br&gt;This is with:
&lt;br&gt;&lt;br&gt;&amp;nbsp; gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Daniel Wallin
&lt;br&gt;BoostPro Computing
&lt;br&gt;&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26732533&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ANN--luabind-0.9-rc1-tp26726464p26732533.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26729859</id>
	<title>Re: [ANN] luabind 0.9-rc1</title>
	<published>2009-12-10T08:01:02Z</published>
	<updated>2009-12-10T08:01:02Z</updated>
	<author>
		<name>liam mail</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/10 Tony Kostanjsek &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26729859&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lobotony666@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;div class=&quot;im&quot;&gt;&amp;gt;&lt;br&gt;
&amp;gt; So I tried the tar.gz packaged download and &amp;quot;simply dropping the&lt;br&gt;
&amp;gt; source files in a Visual Studio project&amp;quot; yet I get errors.&lt;br&gt;
&amp;gt; find_best_match.hpp seems to have been removed form luabind/detail&lt;br&gt;
&amp;gt; find_best_match.cpp&lt;br&gt;
&amp;gt; .\src\find_best_match.cpp(31) : error C2039: &amp;#39;find_best_match&amp;#39; : is&lt;br&gt;
&amp;gt; not a member of &amp;#39;luabind::detail&amp;#39;&lt;br&gt;
&amp;gt; .\src\find_best_match.cpp(33) : error C2061: syntax error :&lt;br&gt;
&amp;gt; identifier &amp;#39;overload_rep_base&amp;#39;&lt;br&gt;
&amp;gt; .\src\find_best_match.cpp(44) : error C2065: &amp;#39;num_overloads&amp;#39; :&lt;br&gt;
&amp;gt; undeclared identifier&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;I encountered the same error, but could build and run my project after&lt;br&gt;
removing find_best_match.cpp. That was 0.9 from github, 1 or 2 weeks&lt;br&gt;
ago, haven&amp;#39;t tried the newest version yet.&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Return on Information:&lt;br&gt;
Google Enterprise Search pays you back&lt;br&gt;
Get the facts.&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
luabind-user mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26729859&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;Thanks Tony this that is what I did in the end.&lt;br&gt;Daniel would you mind sharing your speed tests which you have previously claimed were on par with Swig as I am not seeing the speeds you are talking about. &lt;br&gt;

In this releases notes you say &amp;quot;Major optimizations. For example, calling member functions should be close to twice as fast.&amp;quot; &lt;br&gt;Luabind 9.0rc1 tests &lt;a href=&quot;http://pastebin.com/f72880a97&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/f72880a97&lt;/a&gt;&lt;br&gt;

Luabind 8.1 tests &lt;a href=&quot;http://code.google.com/p/oolua/wiki/Speed_comparisons&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/oolua/wiki/Speed_comparisons&lt;/a&gt;&lt;br&gt;&lt;br&gt;Now I know Luabind can do more than OOLua and I would like to have results which are fair, so if there is anything which you think I should be doing in the tests or more defines to speed it up please do inform me.&lt;br&gt;

Thanks&lt;br&gt;Liam&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26729859&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ANN--luabind-0.9-rc1-tp26726464p26729859.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26728920</id>
	<title>Re: [ANN] luabind 0.9-rc1</title>
	<published>2009-12-10T07:12:27Z</published>
	<updated>2009-12-10T07:12:27Z</updated>
	<author>
		<name>Tony Kostanjsek</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt;
&lt;br&gt;&amp;gt; So I tried the tar.gz packaged download and &amp;quot;simply dropping the &amp;nbsp;
&lt;br&gt;&amp;gt; source files in a Visual Studio project&amp;quot; yet I get errors. &amp;nbsp;
&lt;br&gt;&amp;gt; find_best_match.hpp seems to have been removed form luabind/detail
&lt;br&gt;&amp;gt; find_best_match.cpp
&lt;br&gt;&amp;gt; .\src\find_best_match.cpp(31) : error C2039: 'find_best_match' : is &amp;nbsp;
&lt;br&gt;&amp;gt; not a member of 'luabind::detail'
&lt;br&gt;&amp;gt; .\src\find_best_match.cpp(33) : error C2061: syntax error : &amp;nbsp;
&lt;br&gt;&amp;gt; identifier 'overload_rep_base'
&lt;br&gt;&amp;gt; .\src\find_best_match.cpp(44) : error C2065: 'num_overloads' : &amp;nbsp;
&lt;br&gt;&amp;gt; undeclared identifier
&lt;/div&gt;&lt;br&gt;&lt;br&gt;I encountered the same error, but could build and run my project after &amp;nbsp;
&lt;br&gt;removing find_best_match.cpp. That was 0.9 from github, 1 or 2 weeks &amp;nbsp;
&lt;br&gt;ago, haven't tried the newest version yet. 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728920&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ANN--luabind-0.9-rc1-tp26726464p26728920.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26728034</id>
	<title>Re: [ANN] luabind 0.9-rc1</title>
	<published>2009-12-10T06:21:19Z</published>
	<updated>2009-12-10T06:21:19Z</updated>
	<author>
		<name>liam mail</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/10 liam mail &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728034&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liam.list@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;


&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/10 Daniel Wallin &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728034&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;



I&amp;#39;m happy to announce the first RC of luabind 0.9. There have been a lot&lt;br&gt;
of improvements since 0.8.1. Among the more interesting ones are the&lt;br&gt;
automatic handling of down casts, as well as better smart pointer&lt;br&gt;
support, and of course the improved performance.&lt;br&gt;
&lt;br&gt;
Many thanks to Athena Capital Research who funded a large part of the&lt;br&gt;
development for this release.&lt;br&gt;
&lt;br&gt;
Please test and report problems!&lt;br&gt;
&lt;br&gt;
Source packages available for download at:&lt;br&gt;
&lt;br&gt;
  &lt;a href=&quot;http://sourceforge.net/projects/luabind/files/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/projects/luabind/files/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
User visible changes since 0.8.1&lt;br&gt;
--------------------------------&lt;br&gt;
&lt;br&gt;
 * Major optimizations. For example, calling member functions should be&lt;br&gt;
   close to twice as fast.&lt;br&gt;
&lt;br&gt;
 * Can now automatically handle conversion of any pointer like type&lt;br&gt;
   that implements a get_pointer() overload.&lt;br&gt;
&lt;br&gt;
 * Now handles virtual and multiple inheritance properly.&lt;br&gt;
&lt;br&gt;
 * Automatically perform down-casts as well as up-casts when converting&lt;br&gt;
   arguments from Lua to C++.&lt;br&gt;
&lt;br&gt;
 * When converting from C++ to Lua, polymorphic instances are&lt;br&gt;
   automatically cast to their most derived type.&lt;br&gt;
&lt;br&gt;
 * Memory optimizations.&lt;br&gt;
&lt;br&gt;
 * Added `table&amp;lt;&amp;gt;` object wrapper. Can be used to limit a function&lt;br&gt;
   parameter to tables.&lt;br&gt;
&lt;br&gt;
   Previously:&lt;br&gt;
&lt;br&gt;
       void f(object const&amp;amp; x)&lt;br&gt;
       {&lt;br&gt;
           // assert that x is table&lt;br&gt;
       }&lt;br&gt;
&lt;br&gt;
   Now:&lt;br&gt;
&lt;br&gt;
       void f(table&amp;lt;object&amp;gt; const&amp;amp; x)&lt;br&gt;
       {&lt;br&gt;
       }&lt;br&gt;
&lt;br&gt;
 * Uses standard luaL_ref() and luaL_unref() functions. This should&lt;br&gt;
   simplify integration with other libraries that make use of the&lt;br&gt;
   registry.&lt;br&gt;
&lt;br&gt;
 * Deprecated the `raw()` converter policy. lua_State* arguments are now&lt;br&gt;
   automatically handled by the library.&lt;br&gt;
&lt;br&gt;
 * Fixed common problem where objects would reference a garbage&lt;br&gt;
   collected coroutine.&lt;br&gt;
&lt;br&gt;
Breaking changes&lt;br&gt;
----------------&lt;br&gt;
&lt;br&gt;
 * Dropped support for using a custom type_info.&lt;br&gt;
&lt;br&gt;
 * `get_const_holder()&amp;#39; was removed, and by extension the automatic&lt;br&gt;
   smart_ptr&amp;lt;X&amp;gt; -&amp;gt; smart_ptr&amp;lt;X const&amp;gt;.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Changes since 0.8.1:&lt;br&gt;
--------------------&lt;br&gt;
&lt;br&gt;
Daniel Wallin (100):&lt;br&gt;
  Remove a lot of unused code.&lt;br&gt;
  Remove unnecessary dependency on Boost.Python.&lt;br&gt;
  Don&amp;#39;t use boost::function.&lt;br&gt;
  Remove a bunch of dead code and unnecessary includes.&lt;br&gt;
  Use mpl::vector instead of mpl::list in class_&amp;lt;&amp;gt;.&lt;br&gt;
  Simplify parameter deduction code in class_&amp;lt;&amp;gt; template.&lt;br&gt;
  Use partial specialization for is_bases&amp;lt;&amp;gt;.&lt;br&gt;
  Move &amp;quot;bases&amp;lt;&amp;gt;&amp;quot; definition to class.hpp.&lt;br&gt;
  Add missing &amp;lt;stdexcept&amp;gt; include.&lt;br&gt;
  Replace ref/unref with luaL_ref/luaL_unref.&lt;br&gt;
  Use luaL_ref/luaL_unref in weak_ref.&lt;br&gt;
  Add type_info wrapper class.&lt;br&gt;
  Add table&amp;lt;&amp;gt; object wrapper.&lt;br&gt;
  Fix placeholder macro for GCC4.0.&lt;br&gt;
  Replace include with forward declaration.&lt;br&gt;
  New instance holders. Can hold instance by any pointer type.&lt;br&gt;
  New instance storage implementation. Cleaner and faster.&lt;br&gt;
  Add default converter for boost::shared_ptr&amp;lt;&amp;gt;.&lt;br&gt;
  Use luaL_ref/luaL_unref instead of old ref() mechanism.&lt;br&gt;
  Don&amp;#39;t try to return void* from Lua in test.&lt;br&gt;
  Add missing LUABIND_API to luabind::open().&lt;br&gt;
  Add test for creating instances in Lua threads.&lt;br&gt;
  Add luabind::get_main_thread() API.&lt;br&gt;
  Create instance table reference in the main thread.&lt;br&gt;
  New recursive overload resolver.&lt;br&gt;
  Compute argument indices with converters.&lt;br&gt;
  Automatically convert lua_State* arguments.&lt;br&gt;
  Test user defined converter that consumes 2 parameters.&lt;br&gt;
  Inline more calls when invoking functions. Improves code on GCC.&lt;br&gt;
  Cache conversion result from the scoring stage.&lt;br&gt;
  Reduce the number of API calls for numeric converters.&lt;br&gt;
  Use lua_rawgeti() instead of lua_pushnumber, lua_rawget pair.&lt;br&gt;
  Make adopt_policy::match() stateful.&lt;br&gt;
  Make const_pointer_converter stateful.&lt;br&gt;
  Make shared_ptr_converter stateful.&lt;br&gt;
  Fix builtin converter test. All converters need both conversion stages.&lt;br&gt;
  Fix tests. Need to contain subconverters.&lt;br&gt;
  Add missing detail/ref.hpp include.&lt;br&gt;
  New inheritance graph code.&lt;br&gt;
  Add make_instance() helper function.&lt;br&gt;
  Add tests for new inheritance code.&lt;br&gt;
  Add missing &amp;lt;luabind/wrapper_base.hpp&amp;gt; include.&lt;br&gt;
  Use add_cast() for wrappers as well.&lt;br&gt;
  Handle null pointer in shared_ptr_converter.&lt;br&gt;
  Rework local_id allocation in class_id_map.&lt;br&gt;
  Fix bug in id allocation.&lt;br&gt;
  Make shared_ptr_converter public.&lt;br&gt;
  Test object identity with shared_ptr_converter.&lt;br&gt;
  Handle NULL smart pointers.&lt;br&gt;
  Remove use of conversion_storage.&lt;br&gt;
  Test that adopt() leaves a weak pointer in the Lua object.&lt;br&gt;
  Hold a weak pointer in instance_holder when ownership is released.&lt;br&gt;
  Use false : x : 0 idiom to avoid evaluating x.&lt;br&gt;
  Suppress unused variable warning.&lt;br&gt;
  Keep overload chain alive in function_object.&lt;br&gt;
  Remove old unused table ref member from object_rep.&lt;br&gt;
  Store dependency refs directly in the registry.&lt;br&gt;
  Update version.hpp for v0.9.&lt;br&gt;
  Silence uninitialized variable warning.&lt;br&gt;
  Cache conversion result in value_converter.&lt;br&gt;
  Update version for 0.9 in Jamroot.&lt;br&gt;
  Add test for extending exported classes in Lua.&lt;br&gt;
  Associate polymorphic wrapper back reference with the main thread.&lt;br&gt;
  Remove some stale code.&lt;br&gt;
  Handle returning references to smart pointers.&lt;br&gt;
  Allocate storage for instances with object_rep::allocate().&lt;br&gt;
  Add missing LUABIND_API to invoke_context.&lt;br&gt;
  Use boost::scoped_ptr&amp;lt;&amp;gt; for pimpl.&lt;br&gt;
  Add missing LUABIND_API to class_id_map.&lt;br&gt;
  Fix bug where local class ids would become incorrect.&lt;br&gt;
  Supress int-&amp;gt;bool warnings on MSVC.&lt;br&gt;
  Add missing LUABIND_BUILDING define to inheritance.cpp.&lt;br&gt;
  Use std::size_t instead of int for dependency count.&lt;br&gt;
  Const holder conversion isn&amp;#39;t supported any more. Don&amp;#39;t test it.&lt;br&gt;
  Use lua_tointeger() instead of casting the result of lua_tonumber().&lt;br&gt;
  Suppress a bunch of &amp;quot;unreferenced parameter&amp;quot; warnings.&lt;br&gt;
  Suppress MSVC alignment warning (C4121).&lt;br&gt;
  Suppress MSVC unreachable code warning.&lt;br&gt;
  Suppress MSVC &amp;quot;assignment operator could not be generated&amp;quot; warning.&lt;br&gt;
  Make object_rep noncopyable.&lt;br&gt;
  Cast to lua_Integer and lua_Number explicitly in converter.&lt;br&gt;
  Remove compute_arity(). This isn&amp;#39;t used any more.&lt;br&gt;
  Revert 5134297. This caused overload ambiguities.&lt;br&gt;
  Fix leak in &amp;quot;super&amp;quot; upvalue.&lt;br&gt;
  Store main thread lua_State* in shared_ptr_deleter.&lt;br&gt;
  Fix class_info() calling lua_typename() with stack index.&lt;br&gt;
  Kill old detail::is_class_object() function.&lt;br&gt;
  Fix set_instance_value() bug that overwrote class values.&lt;br&gt;
  Don&amp;#39;t test smart ptr features that have been removed.&lt;br&gt;
  docs: Rewrite section on smart pointers.&lt;br&gt;
  docs: Remove note about library being in beta phase.&lt;br&gt;
  Use lua_pushliteral() where possible.&lt;br&gt;
  Don&amp;#39;t use lua_tointeger() for unsigned int on MSVC.&lt;br&gt;
  Suppress int-&amp;gt;bool warnings on MSVC.&lt;br&gt;
  Don&amp;#39;t leak cast-graph objects.&lt;br&gt;
  docs: Add note about functions returning smart pointers.&lt;br&gt;
  Accept &amp;quot;nil&amp;quot; in char const* converter.&lt;br&gt;
  Always use lua_tonumber() for unsigned int/long.&lt;br&gt;
  cast_graph::cast() should return the score as int.&lt;br&gt;
  Fix placeholder definitions to match changes in Boost 1.39.&lt;br&gt;
&lt;br&gt;
Evan Wies (3):&lt;br&gt;
  Don&amp;#39;t crash if class_info() is called on non-luabind objects.&lt;br&gt;
  Add Lua function class_names() giving a list of registered types.&lt;br&gt;
  Test that class_info() don&amp;#39;t crash when passed non-luabind objects.&lt;br&gt;
&lt;br&gt;
Kenny Peng (1):&lt;br&gt;
  Address a name conflict with termios.h.&lt;br&gt;
&lt;br&gt;
Nigel Atkinson (1):&lt;br&gt;
  Don&amp;#39;t use same name for parameter and type.&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
Daniel Wallin&lt;br&gt;
BoostPro Computing&lt;br&gt;
&lt;a href=&quot;http://www.boostpro.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.boostpro.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Return on Information:&lt;br&gt;
Google Enterprise Search pays you back&lt;br&gt;
Get the facts.&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
luabind-user mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728034&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;Is there a packaging mistake for the 0.9rc1 zip file, I still see the directory inside named luabind-0.8.1 and the speed it almost the same?&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;Liam&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;So I tried the tar.gz packaged download and &amp;quot;simply dropping the source files in a Visual Studio project&amp;quot; yet I get errors. find_best_match.hpp seems to have been removed form luabind/detail&lt;br&gt;

find_best_match.cpp&lt;br&gt;.\src\find_best_match.cpp(31) : error C2039: &amp;#39;find_best_match&amp;#39; : is not a member of &amp;#39;luabind::detail&amp;#39;&lt;br&gt;
.\src\find_best_match.cpp(33) : error C2061: syntax error : identifier &amp;#39;overload_rep_base&amp;#39;&lt;br&gt;.\src\find_best_match.cpp(44) : error C2065: &amp;#39;num_overloads&amp;#39; : undeclared identifier&lt;br&gt;.\src\find_best_match.cpp(46) : error C2065: &amp;#39;start&amp;#39; : undeclared identifier&lt;br&gt;


.\src\find_best_match.cpp(46) : error C2227: left of &amp;#39;-&amp;gt;match&amp;#39; must point to class/struct/union/generic type&lt;br&gt;        type is &amp;#39;&amp;#39;unknown-type&amp;#39;&amp;#39;&lt;br&gt;.\src\find_best_match.cpp(46) : error C2065: &amp;#39;num_params&amp;#39; : undeclared identifier&lt;br&gt;


.\src\find_best_match.cpp(48) : error C2065: &amp;#39;start&amp;#39; : undeclared identifier&lt;br&gt;.\src\find_best_match.cpp(48) : error C2065: &amp;#39;orep_size&amp;#39; : undeclared identifier&lt;br&gt;.\src\find_best_match.cpp(51) : error C2065: &amp;#39;min_match&amp;#39; : undeclared identifier&lt;br&gt;


.\src\find_best_match.cpp(54) : error C2065: &amp;#39;match_index&amp;#39; : undeclared identifier&lt;br&gt;.\src\find_best_match.cpp(55) : error C2065: &amp;#39;min_match&amp;#39; : undeclared identifier&lt;br&gt;.\src\find_best_match.cpp(56) : error C2065: &amp;#39;min_match&amp;#39; : undeclared identifier&lt;br&gt;


.\src\find_best_match.cpp(64) : error C2065: &amp;#39;ambiguous&amp;#39; : undeclared identifier&lt;br&gt;.\src\find_best_match.cpp(64) : error C2065: &amp;#39;min_match&amp;#39; : undeclared identifier&lt;br&gt;.\src\find_best_match.cpp(65) : error C2065: &amp;#39;min_match&amp;#39; : undeclared identifier&lt;br&gt;


.\src\find_best_match.cpp(69) : error C2039: &amp;#39;find_exact_match&amp;#39; : is not a member of &amp;#39;luabind::detail&amp;#39;&lt;br&gt;.\src\find_best_match.cpp(71) : error C2061: syntax error : identifier &amp;#39;overload_rep_base&amp;#39;&lt;br&gt;


.\src\find_best_match.cpp(78) : error C2065: &amp;#39;num_overloads&amp;#39; : undeclared identifier&lt;br&gt;.\src\find_best_match.cpp(80) : error C2065: &amp;#39;start&amp;#39; : undeclared identifier&lt;br&gt;.\src\find_best_match.cpp(80) : error C2227: left of &amp;#39;-&amp;gt;match&amp;#39; must point to class/struct/union/generic type&lt;br&gt;


        type is &amp;#39;&amp;#39;unknown-type&amp;#39;&amp;#39;&lt;br&gt;.\src\find_best_match.cpp(80) : error C2065: &amp;#39;num_params&amp;#39; : undeclared identifier&lt;br&gt;.\src\find_best_match.cpp(81) : error C2065: &amp;#39;cmp_match&amp;#39; : undeclared identifier&lt;br&gt;


.\src\find_best_match.cpp(81) : error C2065: &amp;#39;dest&amp;#39; : undeclared identifier&lt;br&gt;.\src\find_best_match.cpp(81) : error C2228: left of &amp;#39;.push_back&amp;#39; must have class/struct/union&lt;br&gt;        type is &amp;#39;&amp;#39;unknown-type&amp;#39;&amp;#39;&lt;br&gt;


.\src\find_best_match.cpp(81) : error C2065: &amp;#39;start&amp;#39; : undeclared identifier&lt;br&gt;.\src\find_best_match.cpp(82) : error C2065: &amp;#39;start&amp;#39; : undeclared identifier&lt;br&gt;.\src\find_best_match.cpp(82) : error C2065: &amp;#39;orep_size&amp;#39; : undeclared identifier&lt;br&gt;


&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728034&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ANN--luabind-0.9-rc1-tp26726464p26728034.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26727570</id>
	<title>Assertion failed</title>
	<published>2009-12-10T05:34:29Z</published>
	<updated>2009-12-10T05:34:29Z</updated>
	<author>
		<name>Sandro Ferreira</name>
	</author>
	<content type="html">Hi everybody,&lt;br&gt;&lt;br&gt;I having an &amp;quot;assertion failed&amp;quot; on line 102 of inheritance.hpp file.&lt;br&gt;&lt;br&gt;I&amp;#39;m using the latest version of github, and it&amp;#39;s an error of the new version, becouse same code works on version 0.8.&lt;br&gt;
&lt;br&gt;I have two modules (dlls).&lt;br&gt;The modules have the folowing code:&lt;br&gt;&lt;br&gt;-- Module1 {&lt;br&gt;&lt;font size=&quot;2&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;class MOD1_API CMod1 {&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;public:&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;    CMod1(void) { fprintf_s(stdout, &amp;quot;CMod1::&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;CMod1()&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;\n&amp;quot;); }&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;    ~CMod1(void){ fprintf_s(stdout, &amp;quot;CMod1::&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;~CMod1()&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;\n&amp;quot;); }&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;};&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;br&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;extern &amp;quot;C&amp;quot; MOD1_API int luaopen_CMod1(lua_State* L)&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	if (luabind::detail::class_registry::get_registry(L) == 0)&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;luabind::open(L);&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;	luabind::module(L)&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;	[&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   luabind::class_&amp;lt;CMod1&amp;gt;(&amp;quot;CMod1&amp;quot;)&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   .def(luabind::constructor&amp;lt;&amp;gt;())&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;	];&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;	return 0;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;br&gt;-- }&lt;br&gt;&lt;br&gt;-- Module2 {&lt;br&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;class MOD2_API CMod2 {&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;public:&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;    CMod2(void) { fprintf_s(stdout, &amp;quot;CMod2::&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;CMod2()&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;\n&amp;quot;); }&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;    ~CMod2(void){ fprintf_s(stdout, &amp;quot;CMod2::&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;~CMod2()&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;\n&amp;quot;); }&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;};&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;br&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;extern &amp;quot;C&amp;quot; MOD1_API int luaopen_CMod2(lua_State* L)&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	if (luabind::detail::class_registry::get_registry(L) == 0)&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;luabind::open(L);&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;	luabind::module(L)&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;	[&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   luabind::class_&amp;lt;CMod2&amp;gt;(&amp;quot;CMod2&amp;quot;)&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   .def(luabind::constructor&amp;lt;&amp;gt;())&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;	];&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;   	&lt;/span&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;	return 0;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;}&lt;/span&gt;&lt;br&gt;-- }&lt;br&gt;&lt;br&gt;And I have the assertion when I call following code in Lua:&lt;br&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;require&amp;#39;CMod1&amp;#39;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;
&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;require&amp;#39;CMod2&amp;#39; --&amp;lt;&amp;lt; assertion ocurr here&lt;/span&gt;&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;--&lt;br&gt;Sandro Souza Ferreira&lt;br&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&lt;/a&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;luabind-user mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727570&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luabind-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/luabind-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/luabind-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Lua-C%2B%2B-Bind-f14113.html&quot; embed=&quot;fixTarget[14113]&quot; target=&quot;_top&quot; &gt;Lua C++ Bind&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Assertion-failed-tp26727570p26727570.html" />
</entry>

</feed>
