001 /*
002 * To change this template, choose Tools | Templates
003 * and open the template in the editor.
004 */
005
006 package org.bridj;
007
008 import java.lang.reflect.Constructor;
009 import java.lang.reflect.Method;
010
011 import static org.bridj.Pointer.*;
012
013 /**
014 * Generic Java callback to be called from C.
015 * @author ochafik
016 */
017 public interface GenericCallback {
018 public abstract Object apply(Object... args);
019 }