A script-enabled browser is required for this page to function properly.

ORA_FFI.FUNCHANDLETYPE Type

This type specifies a handle to a foreign function. You can use ORA_FFI.FIND_FUNCTION to obtain the handle.

Syntax


TYPE ORA_FFI.FUNCHANDLETYPE;

Example


/* This example uses ORA_FFI.FUNCHANDLETYPE */
  
PROCEDURE define_c_funcs IS
   getresult_fhandle ORA_FFI.FUNCHANDLETYPE;
   foo_fhandle ORA_FFI.FUNCHANDLETYPE;
 BEGIN
   /* Register the info for function getresult */
   getresult_fhandle := ORA_FFI.REGISTER_FUNCTION
   (testlib_lhandle, 'getresult');
   
    ...
	
   /* Register the info for function foo */
   foo_fhandle := ORA_FFI.REGISTER_FUNCTION
   (testlib_lhandle,'foo'); 
    ...
END;

See also

About the ORA_FFI built-in package

ORA_FFI built-in package