Displaying 1 result from an estimated 1 matches for "registernativehandl".
Did you mean:
registernativehandler
2010 Sep 08
0
[LLVMdev] how to call back from JITted code to some native custom functions/variables.
...T may be double and std::string
template<typename T>
void registerNativeVariable(const std::string& symbolName,
const std::function<T()>& callback);
// registers a callback for custom handlers (special functions)
// to further process the data.
void registerNativeHandler(const std::string& symbolName,
const std::function<bool()>& callback);
// registers a native function with arbitary list of parameters
// and some return value. types of each may be void/double/string.
void registerNativeHandler(const std::string& symbolName...