Class MDBMsgFunc

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.lmdb.MDBMsgFunc
All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, MDBMsgFuncI

public abstract class MDBMsgFunc extends Callback implements MDBMsgFuncI
A callback function used to print a message from the library.

Type


 int (*MDBMsgFuncI.invoke(long, long)) (
     char const *msg,
     void *ctx
 )
  • Method Details

    • create

      public static MDBMsgFunc create(long functionPointer)
      Creates a MDBMsgFunc instance from the specified function pointer.
      Returns:
      the new MDBMsgFunc
    • createSafe

      @Nullable public static MDBMsgFunc createSafe(long functionPointer)
      Like create, but returns null if functionPointer is NULL.
    • create

      public static MDBMsgFunc create(MDBMsgFuncI instance)
      Creates a MDBMsgFunc instance that delegates to the specified MDBMsgFuncI instance.