コード例 #1
0
        public ActionRefFloat newCallBackHandler; // This is for a function not yet implemented

        public Fortan()
        {
            callbackHandler    = new ActionRefInt(OnUpdateProgress);
            newCallBackHandler = new ActionRefFloat(NewOnUpdateProgress); // For future function
        }
コード例 #2
0
 public static extern void divisiondif(ref float first, ref float second, [MarshalAs(UnmanagedType.FunctionPtr)] ActionRefFloat callBack);