diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-05-15 12:32:27 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-05-15 12:32:27 -0700 |
commit | afed8b5259db9f5a7e9a417c13669f29d8ae3d15 (patch) | |
tree | 44ca920e2bebc11570cb1f9cec8a47225703a3f3 /tests/webidl/test.h | |
parent | d470387f096d6427720a9c8a61776fa3d276683e (diff) |
support const methods, not just attributes, in webidl binder
Diffstat (limited to 'tests/webidl/test.h')
-rw-r--r-- | tests/webidl/test.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/webidl/test.h b/tests/webidl/test.h index d8eb0fbc..5d13846c 100644 --- a/tests/webidl/test.h +++ b/tests/webidl/test.h @@ -11,6 +11,7 @@ public: int getVal() { return value; }; // inline should work just fine here, unlike Way 1 before void mulVal(int mul); void parentFunc() {} + const Parent *getAsConst() { return NULL; } }; class Child1 : public Parent { |