blob: b773952df22286f738972c718eeb6c3ebc68fc1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/*
* Copyright (c) 2013 Remko Tronçon
* Licensed under the GNU General Public License.
* See the COPYING file for more information.
*/
#include <Sluift/Lua/FunctionRegistration.h>
using namespace Swift::Lua;
FunctionRegistration::FunctionRegistration(const std::string& name, lua_CFunction function, const std::string& type) {
FunctionRegistry::getInstance().addFunction(name, function, type);
}
FunctionRegistration::~FunctionRegistration() {
}
|