blob: ece693cf85d31c73b1b553cf3974fd6a09dc5d72 [file] [log] [blame]
Shih-wei Liao462aefd2010-06-04 15:32:04 -07001#include "slang_rs_export_var.hpp"
2#include "slang_rs_export_type.hpp" /* for macro GET_CANONICAL_TYPE() */
3
4#include "clang/AST/Type.h" /* for clang::Type and clang::QualType */
5
6namespace slang {
7
8RSExportVar::RSExportVar(RSContext* Context, const VarDecl* VD, const RSExportType* ET) :
9 mContext(Context),
10 mName(VD->getName().data(), VD->getName().size()),
11 mET(ET)
12{
13 return;
14}
15
16} /* namespace slang */