Пример #1
0
 static void ended_cb(IntPtr inst)
 {
     try {
         Integrator inst_managed = GLib.Object.GetObject(inst, false) as Integrator;
         inst_managed.OnEnded();
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
Пример #2
0
 static void begun_cb(IntPtr inst, double from)
 {
     try {
         Integrator inst_managed = GLib.Object.GetObject(inst, false) as Integrator;
         inst_managed.OnBegun(from);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
Пример #3
0
 static void stepped_cb(IntPtr inst, double timestep, double time)
 {
     try {
         Integrator inst_managed = GLib.Object.GetObject(inst, false) as Integrator;
         inst_managed.OnStepped(timestep, time);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }