Create new error handle object
function new_error_api() & & result(verror) & & bind(C, name=namespace//"new_error") !DEC$ ATTRIBUTES DLLEXPORT :: new_error_api type(vp_error), pointer :: error type(c_ptr) :: verror if (debug) print'("[Info]",1x, a)', "new_error" allocate(error) verror = c_loc(error) end function new_error_api