Previously wxConfig::ReadXXX functions returned [value, bool] which
didn't follow the semantics of any other function that returns
multiple parameters.

wxConfig::Read
wxConfig::ReadInt
wxConfig::ReadFloat

The official C++ functions are (example for long numbers)
bool wxConfig::Read(const wxString& key, long* value)

which in lua we turn into
[bool, long] wxConfig::Read(const wxString& key)

where the first parameter in the list is always the value that C++
returns from the function and subsequent values are those that we
cannot pass by reference and therefore return the value instead.

Regards,
    John Labenski

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to