Qore Programming Language
0.9.16
|
allows a program to be used and guarantees that it will stay valid until the destructor is run if successfully acquired in the constructor More...
#include <QoreProgram.h>
Public Member Methods | |
DLLEXPORT | QoreExternalProgramContextHelper (ExceptionSink *xsink, QoreProgram *pgm) |
try to attach to the given program, if not possible, then a Qore-language exception is thrown | |
DLLEXPORT | ~QoreExternalProgramContextHelper () |
destroys the object and releases the program to be destroyed if it was successfully acquired in the constructor | |
allows a program to be used and guarantees that it will stay valid until the destructor is run if successfully acquired in the constructor