Interface INativeFunction

  • All Known Implementing Classes:
    JnaNativeFunction

    public interface INativeFunction
    The representation of a native function.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> T invoke​(java.lang.Class<T> returnType, java.lang.Object... objects)
      Invoke the native function.
    • Method Detail

      • invoke

        <T> T invoke​(java.lang.Class<T> returnType,
                     java.lang.Object... objects)
        Invoke the native function.
        Parameters:
        returnType - The expected return type.
        objects - The arguments to the function
        Returns:
        The result of executing the function