Example #1
0
 public static int PL_abort_unhook(PL_abort_hook_t ah)
 {
     try
     {
         return(SafeNativeMethods.PL_abort_unhook(ah));
     }
     catch (Exception e)
     {
         InternalError("PL_abort_unhook", e);
         throw;
     }
 }
Example #2
0
 public static void PL_abort_hook(PL_abort_hook_t ah)
 {
     try
     {
         PrologCLR.PinObject(ah);
         SafeNativeMethods.PL_abort_hook(ah);
     }
     catch (Exception e)
     {
         InternalError("PL_abort_hook", e);
         throw;
     }
 }
Example #3
0
 internal static extern int PL_abort_unhook(PL_abort_hook_t atom);
Example #4
0
 internal static extern void PL_abort_hook(PL_abort_hook_t ah);
Example #5
0
 internal static extern int PL_abort_unhook(PL_abort_hook_t atom);
Example #6
0
 internal static extern void PL_abort_hook(PL_abort_hook_t ah);
Example #7
0
 public static int PL_abort_unhook(PL_abort_hook_t ah)
 {
     try
     {
         return SafeNativeMethods.PL_abort_unhook(ah);
     }
     catch (Exception e)
     {
         InternalError("PL_abort_unhook", e);
         throw;
     }
 }
Example #8
0
 public static void PL_abort_hook(PL_abort_hook_t ah)
 {
     try
     {
         PrologCLR.PinObject(ah);
         SafeNativeMethods.PL_abort_hook(ah);
     }
     catch (Exception e)
     {
         InternalError("PL_abort_hook", e);
         throw;
     }
 }