c++ object support

This commit is contained in:
Daniel Sipka 2015-04-21 15:04:11 +02:00
parent 812b4bdb41
commit 8f7210f95d
19 changed files with 173 additions and 87 deletions

View file

@ -1,7 +1,7 @@
class comments: public mstch::object {
public:
comments() {
register_method("title", this, &comments::title);
register_methods(this, {{"title", &comments::title}});
}
mstch::node title() {