Diluculum  1.0
Classes | Functions
Diluculum::Impl Namespace Reference

Implementation details of Diluculum. More...

Classes

struct  CppObject
class  ClassTableFiller

Functions

void ReportErrorFromCFunction (lua_State *ls, const ::std::string &what)

Detailed Description

Implementation details of Diluculum.

Regular users shouldn't bother to anything in this namespace.


Function Documentation

void Diluculum::Impl::ReportErrorFromCFunction ( lua_State *  ls,
const ::std::string &  what 
)

Calls lua_error() with a proper error message. The error message is composed of things that may help to find out what's the error, like the function name.

Parameters:
lsThe lua_State* on which the function will operate.
whatA message to be included in the error message created by this function.
Note:
This is not intended to be called by Diluculum users.