Exemple #1
0
        public bool Compile(Cdn.CompileContext context, Cdn.CompileError error)
        {
            bool raw_ret = cdn_edge_action_compile(Handle, context == null ? IntPtr.Zero : context.Handle, error == null ? IntPtr.Zero : error.Handle);
            bool ret     = raw_ret;

            return(ret);
        }
Exemple #2
0
        public Cdn.CompileContext GetCompileContext(Cdn.CompileContext context)
        {
            IntPtr raw_ret = cdn_object_get_compile_context(Handle, context == null ? IntPtr.Zero : context.Handle);

            Cdn.CompileContext ret = GLib.Object.GetObject(raw_ret) as Cdn.CompileContext;
            return(ret);
        }
Exemple #3
0
 public bool Compile(Cdn.CompileContext context, Cdn.CompileError error)
 {
     return(WrappedObject.Compile(context, error));
 }
Exemple #4
0
 public bool Compile(Cdn.CompileContext context)
 {
     return(Compile(context, null));
 }
Exemple #5
0
        public unsafe bool Initialize(GLib.SList expressions, int num_expressions, GLib.SList indices, int num_indices, Cdn.StackArgs argdim, Cdn.CompileContext context)
        {
            IntPtr error   = IntPtr.Zero;
            bool   raw_ret = cdn_operator_initialize(Handle, expressions == null ? IntPtr.Zero : expressions.Handle, num_expressions, indices == null ? IntPtr.Zero : indices.Handle, num_indices, argdim == null ? IntPtr.Zero : argdim.Handle, context == null ? IntPtr.Zero : context.Handle, out error);
            bool   ret     = raw_ret;

            if (error != IntPtr.Zero)
            {
                throw new GLib.GException(error);
            }
            return(ret);
        }