Qore Programming Language 1.12.4
|
qpp
should be used to generate cpp files with bindings for Qore insteadEach Qore function should return a QoreValue giving the return value of the function. If the function does not return a value, then it should simply return QoreValue() as in the following qpp
code:
If your function raises an exception, then you must call ExceptionSink::raiseException() against the ExceptionSink argument to the function. In the case that your function raises a Qore-language exception, the function must always return QoreValue() as a return value. The following qpp
code is an example: