blob: 7a1a2210696aa12690282d509d8dcccddb671b75 [file] [log] [blame]
//===---------- MonoString.h - String representation in Mono --------------===//
//
// N3
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef N3_MONO_STRING_H
#define N3_MONO_STRING_H
#include "llvm/GlobalVariable.h"
#include "types.h"
#include "mvm/PrintBuffer.h"
#include "CLIString.h"
namespace n3 {
class UTF8;
class MonoString : public CLIString {
public:
// !!! mono layout !!!
sint32 length;
uint8 startChar;
const UTF8* value;
llvm::GlobalVariable* _llvmVar;
};
} // end namespace n3
#endif