Source: data-flow/include/compile_object.h
|
|
|
|
// Copyright (C) 2001 Jean-Marc Valin
#ifndef COMPILE_OBJECT_H
#define COMPILE_OBJECT_H
#include <string>
#include "DLManager.h"
class CompileObject {
string code;
string symname;
string filename;
DL_HANDLE_TYPE lib;
void *sym;
public:
CompileObject(const string &_code="");
~CompileObject();
void setCode(const string &_code) {code = _code;}
void compile();
void *getFuncPtr() {return sym;}
};
#endif
Generated by: jmvalin@usw-pr-shell2 on Mon Jun 24 00:06:36 2002, using kdoc 2.0a40. |