1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include "cmMod.hpp" using namespace std; #if MESON_MAGIC_FLAG != 21 #error "Invalid MESON_MAGIC_FLAG (private)" #endif cmModClass::cmModClass(string foo) { str = foo + " World"; } string cmModClass::getStr() const { return str; }