public static int XmlAutomataIsDeterminist(global::libxml.XmlAutomata am) { var __arg0 = ReferenceEquals(am, null) ? global::System.IntPtr.Zero : am.__Instance; var __ret = __Internal.XmlAutomataIsDeterminist(__arg0); return(__ret); }
public static int XmlAutomataNewCounter(global::libxml.XmlAutomata am, int min, int max) { var __arg0 = ReferenceEquals(am, null) ? global::System.IntPtr.Zero : am.__Instance; var __ret = __Internal.XmlAutomataNewCounter(__arg0, min, max); return(__ret); }
public static int XmlAutomataSetFinalState(global::libxml.XmlAutomata am, global::libxml.XmlAutomataState state) { var __arg0 = ReferenceEquals(am, null) ? global::System.IntPtr.Zero : am.__Instance; var __arg1 = ReferenceEquals(state, null) ? global::System.IntPtr.Zero : state.__Instance; var __ret = __Internal.XmlAutomataSetFinalState(__arg0, __arg1); return(__ret); }
public static global::libxml.XmlRegexp XmlAutomataCompile(global::libxml.XmlAutomata am) { var __arg0 = ReferenceEquals(am, null) ? global::System.IntPtr.Zero : am.__Instance; var __ret = __Internal.XmlAutomataCompile(__arg0); global::libxml.XmlRegexp __result0; if (__ret == IntPtr.Zero) { __result0 = null; } else if (global::libxml.XmlRegexp.NativeToManagedMap.ContainsKey(__ret)) { __result0 = (global::libxml.XmlRegexp)global::libxml.XmlRegexp.NativeToManagedMap[__ret]; } else { __result0 = global::libxml.XmlRegexp.__CreateInstance(__ret); } return(__result0); }
public static global::libxml.XmlAutomataState XmlAutomataNewCounterTrans(global::libxml.XmlAutomata am, global::libxml.XmlAutomataState from, global::libxml.XmlAutomataState to, int counter) { var __arg0 = ReferenceEquals(am, null) ? global::System.IntPtr.Zero : am.__Instance; var __arg1 = ReferenceEquals(from, null) ? global::System.IntPtr.Zero : from.__Instance; var __arg2 = ReferenceEquals(to, null) ? global::System.IntPtr.Zero : to.__Instance; var __ret = __Internal.XmlAutomataNewCounterTrans(__arg0, __arg1, __arg2, counter); global::libxml.XmlAutomataState __result0; if (__ret == IntPtr.Zero) { __result0 = null; } else if (global::libxml.XmlAutomataState.NativeToManagedMap.ContainsKey(__ret)) { __result0 = (global::libxml.XmlAutomataState)global::libxml.XmlAutomataState.NativeToManagedMap[__ret]; } else { __result0 = global::libxml.XmlAutomataState.__CreateInstance(__ret); } return(__result0); }
public static void XmlFreeAutomata(global::libxml.XmlAutomata am) { var __arg0 = ReferenceEquals(am, null) ? global::System.IntPtr.Zero : am.__Instance; __Internal.XmlFreeAutomata(__arg0); }