C++/Nasal bindings: allow registering free function as member

This commit is contained in:
Thomas Geymayer
2012-11-12 23:28:00 +01:00
parent 55fbe68e62
commit 04685a8179
2 changed files with 74 additions and 17 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
struct Base
{
naRef member(int, naRef*) { return naNil(); }
naRef member(naContext, int, naRef*) { return naNil(); }
};
struct Derived:
public Base