コード例 #1
0
        public static NBest FromIter(SWIGTYPE_p_void itor)
        {
            global::System.IntPtr cPtr = PocketSphinxPINVOKE.NBest_FromIter(SWIGTYPE_p_void.getCPtr(itor));
            NBest ret = (cPtr == global::System.IntPtr.Zero) ? null : new NBest(cPtr, false);

            return(ret);
        }
コード例 #2
0
        public NBest GetCurrent()
        {
            global::System.IntPtr cPtr = PocketSphinxPINVOKE.NBestIterator_GetCurrent(swigCPtr);
            NBest ret = (cPtr == global::System.IntPtr.Zero) ? null : new NBest(cPtr, false);

            return(ret);
        }
コード例 #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(NBest obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }