Example #1
0
 static void UseCallback(IntPtr self)
 {
     try {
         Cdn.UsableImplementor __obj = GLib.Object.GetObject(self, false) as Cdn.UsableImplementor;
         __obj.Use();
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
Example #2
0
 static bool UnuseCallback(IntPtr self)
 {
     try {
         Cdn.UsableImplementor __obj = GLib.Object.GetObject(self, false) as Cdn.UsableImplementor;
         bool __result = __obj.Unuse();
         return(__result);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }