31 DLLEXPORT
extern qore_classid_t CID_MAGIC;
32 DLLLOCAL
extern QoreClass* QC_MAGIC;
33 DLLLOCAL QoreClass *initMagicClass(QoreNamespace& ns);
36 class QoreMagic :
public AbstractPrivateData {
38 DLLLOCAL
virtual ~QoreMagic();
41 DLLLOCAL QoreMagic(ExceptionSink *xsink);
42 DLLLOCAL QoreMagic(
int flags, ExceptionSink *xsink);
44 DLLLOCAL
void setFlags(
int flags, ExceptionSink *xsink);
46 DLLLOCAL AbstractQoreNode* file(
const QoreStringNode *fileName, ExceptionSink *xsink);
47 DLLLOCAL AbstractQoreNode* file(
const QoreStringNode *fileName,
int flags, ExceptionSink *xsink);
48 DLLLOCAL AbstractQoreNode* buffer(
const AbstractQoreNode *data, ExceptionSink *xsink);
49 DLLLOCAL AbstractQoreNode* buffer(
const AbstractQoreNode *data,
int flags, ExceptionSink *xsink);
53 QoreThreadLock m_lock;