refactor lua usertypes
This commit is contained in:
@@ -48,4 +48,9 @@ namespace lua {
|
||||
|
||||
void log_error(const std::string& text);
|
||||
|
||||
class Userdata {
|
||||
public:
|
||||
virtual ~Userdata() {};
|
||||
virtual const std::string& getTypeName() const = 0;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user