Skip to content

Commit

Permalink
add hook support
Browse files Browse the repository at this point in the history
  • Loading branch information
123marvin123 committed Mar 4, 2015
1 parent f5c10b3 commit 9e9bc73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/gtaun/shoebill/SampNativeFunction.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public static void loadLibrary()
public static native int registerNative(int amxHandle, String nativeName, Object callable);
public static native Object callFunction(int amxHandle, int functionHandle, Object... args);
public static native Object callPublic(int amxHandle, int functionHandle, Object... args);

public static native void registerHookArguments(String functionName, boolean isCallback, Class<?>... args);
public static native boolean hookCallback(String name, String types);
public static native boolean unhookCallback(String name);

public static native void restartShoebill();

Expand Down

0 comments on commit 9e9bc73

Please sign in to comment.