From ab016596602a4c6bdc27adf01c308b325af221f0 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Wed, 21 Sep 2016 22:35:47 -0600 Subject: something that only builds ... --- lib/codegen/src/CG_stringRepr.cc | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 lib/codegen/src/CG_stringRepr.cc (limited to 'lib/codegen/src/CG_stringRepr.cc') diff --git a/lib/codegen/src/CG_stringRepr.cc b/lib/codegen/src/CG_stringRepr.cc new file mode 100755 index 0000000..f1a7cad --- /dev/null +++ b/lib/codegen/src/CG_stringRepr.cc @@ -0,0 +1,32 @@ +/***************************************************************************** + Copyright (C) 1994-2000 University of Maryland + Copyright (C) 2008 University of Southern California + Copyright (C) 2009 University of Utah + All Rights Reserved. + + Purpose: + omega holder for string implementation. + + Notes: + + History: + 04/17/96 - Lei Zhou - created +*****************************************************************************/ + + +#include +#include +#include + +namespace omega { + + //----------------------------------------------------------------------------- + // Dump operations + //----------------------------------------------------------------------------- + void CG_stringRepr::Dump() const { dump(); } // TODO combine dump() and Dump() + + void CG_stringRepr::DumpToFile(FILE *fp) const { + fprintf(fp,"%s", s_.c_str()); + } + +} // namespace -- cgit v1.2.3-70-g09d2