Don't include rs_graphics.rsh by default.
Fix the Externalize in slang_driver.cpp.
Change-Id: Idce037b0150af3ea9968e39b7bce63a0e1b6d9a5
diff --git a/slang_rs_exportable.h b/slang_rs_exportable.h
index 2945b40..8792186 100644
--- a/slang_rs_exportable.h
+++ b/slang_rs_exportable.h
@@ -6,28 +6,27 @@
namespace slang {
class RSExportable {
-public:
+ public:
enum Kind {
EX_FUNC,
EX_TYPE,
EX_VAR
};
-private:
+ private:
Kind mK;
-protected:
+ protected:
RSExportable(RSContext *Context, RSExportable::Kind K) : mK(K) {
Context->newExportable(this);
return;
}
-public:
+ public:
inline Kind getKind() const { return mK; }
virtual ~RSExportable() { }
};
-
}
#endif // _SLANG_COMPILER_RS_EXPORTABLE_HPP