Esempio n. 1
0
        public static bool ForceInstallAtomGCHook()
        {
            PL_agc_hook_t old = libpl.PL_agc_hook(Tracker_FreeAtom);

            if (old == null)
            {
                return(true);
            }
            return(true);
        }
Esempio n. 2
0
 public static PL_agc_hook_t PL_agc_hook(PL_agc_hook_t newhook)
 {
     try
     {
         PrologCLR.PinObject(newhook);
         return(SafeNativeMethods.PL_agc_hook(newhook));
     }
     catch (Exception e)
     {
         InternalError("PL_agc_hook", e);
         throw;
     }
 }
Esempio n. 3
0
 internal static extern PL_agc_hook_t PL_agc_hook(PL_agc_hook_t newhook);
Esempio n. 4
0
 internal static extern PL_agc_hook_t PL_agc_hook(PL_agc_hook_t newhook);
Esempio n. 5
0
 public static PL_agc_hook_t PL_agc_hook(PL_agc_hook_t newhook)
 {
     try
     {
         PrologCLR.PinObject(newhook);
         return SafeNativeMethods.PL_agc_hook(newhook);
     }
     catch (Exception e)
     {
         InternalError("PL_agc_hook", e);
         throw;
     }
 }