monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Concerns about the net.venge.monotone.stripped bran


From: Alex Sandro Queiroz e Silva
Subject: Re: [Monotone-devel] Concerns about the net.venge.monotone.stripped branch
Date: Tue, 14 Oct 2008 09:38:42 -0300
User-agent: Thunderbird 2.0.0.17 (Windows/20080914)

Hallo,

Markus Wanner wrote:
> Hi,
> 
> Zack Weinberg wrote:
>> well, you could always do the moral equivalent in C:
>>
>>   lua_getglobal(L, "_VERSION");
>>   std::string luaversion(lua_tostring(L, -1)); // copies
>>   lua_pop(L, 1);
> 
> Hm.. I've tried that and stumbled over two problems. One is, that
> mt_version.cc doesn't have access to a Lua_state object (and gets called
> from sanity.cc, which doesn't either).
> 
> The other one is, the patch version isn't included in the _VERSION
> global variable:
> 

     The lua.h file defines LUA_RELEASE.

Cheers,
-alex
http://www.ventonegro.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]