commit | 6cb08cf9f021a01d9d2b1eaec6729aac6ae70708 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Wed Aug 03 15:44:51 2016 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Sat Aug 06 09:03:00 2016 -0700 |
tree | 1aae40d2babf1a102efd9afa09142e908df5d561 | |
parent | 9cd48d06c94c25516079e4046be7c8e7e7d2098f [diff] [blame] |
Support for inheritance of interfaces.
diff --git a/Interface.cpp b/Interface.cpp index ec8d488..9c2ad27 100644 --- a/Interface.cpp +++ b/Interface.cpp
@@ -5,7 +5,7 @@ namespace android { -Interface::Interface(Type *super) +Interface::Interface(Interface *super) : mSuperType(super) { } @@ -13,7 +13,7 @@ mMethods.push_back(method); } -const Type *Interface::superType() const { +const Interface *Interface::superType() const { return mSuperType; }