for calling native methods taking no args, and returning an int.
@param flags used for specifying the native error handling, can not be null.
@return the result of the native method.
@throws Exception if the native method failed.
@throws NullPointerException if flags is null.
@throws IllegalStateException if this FuncPtr has been closed.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.