static bool invalidatename_cb(IntPtr argument, IntPtr name) { try { FunctionArgument argument_managed = GLib.Object.GetObject(argument, false) as FunctionArgument; return(argument_managed.OnInvalidateName(GLib.Marshaller.Utf8PtrToString(name))); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call doesn't return throw e; } }
public FunctionArgument(Wrappers.Function wrapped, Cdn.FunctionArgument argument) : this(wrapped, argument.Name, argument.Optional ? argument.DefaultValue.AsString : null, !argument.Explicit) { d_argument = argument; }