Beispiel #1
0
        public Cdn.Selection[] Select(GLib.Object parent, Cdn.SelectorType type, Cdn.ExpansionContext context)
        {
            IntPtr raw_ret = cdn_selector_select(Handle, parent == null ? IntPtr.Zero : parent.Handle, (int)type, context == null ? IntPtr.Zero : context.Handle);

            Cdn.Selection[] ret = (Cdn.Selection[])GLib.Marshaller.ListPtrToArray(raw_ret, typeof(GLib.SList), false, false, typeof(Cdn.Selection));
            return(ret);
        }
Beispiel #2
0
        public GLib.SList SelectSet(GLib.SList parents, Cdn.SelectorType type)
        {
            IntPtr raw_ret = cdn_selector_select_set(Handle, parents == null ? IntPtr.Zero : parents.Handle, (int)type);

            GLib.SList ret = new GLib.SList(raw_ret);
            return(ret);
        }
Beispiel #3
0
 public void PushSelection(Cdn.Selector selector, Cdn.SelectorType type, GLib.SList templates)
 {
     cdn_parser_context_push_selection(Handle, selector == null ? IntPtr.Zero : selector.Handle, (int)type, templates == null ? IntPtr.Zero : templates.Handle);
 }