More RS cpp binding work. All classes for
compute should be partially implemented at this time.
Change-Id: Iddf9405cc69513b708975d20783395f0be04c680
diff --git a/Allocation.h b/Allocation.h
index 059e61d..c9e00a4 100644
--- a/Allocation.h
+++ b/Allocation.h
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#ifndef __ANDROID_ALLOCATION_H__
+#define __ANDROID_ALLOCATION_H__
#include <pthread.h>
#include <rs.h>
@@ -22,7 +24,7 @@
#include "Type.h"
#include "Element.h"
-class Allocation : BaseObj {
+class Allocation : public BaseObj {
protected:
const Type *mType;
uint32_t mUsage;
@@ -121,4 +123,4 @@
};
-
+#endif