Пример #1
0
        public bool Equal(Cdn.Operator other, bool asstring)
        {
            bool raw_ret = cdn_operator_equal(Handle, other == null ? IntPtr.Zero : other.Handle, asstring);
            bool ret     = raw_ret;

            return(ret);
        }
Пример #2
0
        public Cdn.Operator Copy()
        {
            IntPtr raw_ret = cdn_operator_copy(Handle);

            Cdn.Operator ret = GLib.Object.GetObject(raw_ret, true) as Cdn.Operator;
            return(ret);
        }
Пример #3
0
 public InstructionCustomOperator(Cdn.Operator op) : base(IntPtr.Zero)
 {
     if (GetType() != typeof(InstructionCustomOperator))
     {
         throw new InvalidOperationException("Can't override this constructor.");
     }
     Raw = cdn_instruction_custom_operator_new(op == null ? IntPtr.Zero : op.Handle);
 }