Exemplo n.º 1
0
 static IntPtr GetTypeFromName_cb(IntPtr inst, IntPtr type_name)
 {
     try {
         Builder    __obj = GLib.Object.GetObject(inst, false) as Builder;
         GLib.GType __result;
         __result = __obj.OnGetTypeFromName(GLib.Marshaller.Utf8PtrToString(type_name));
         return(__result.Val);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }