getCPtr() static private method

static private getCPtr ( SWIGTYPE_p_std__string obj ) : HandleRef
obj SWIGTYPE_p_std__string
return System.Runtime.InteropServices.HandleRef
コード例 #1
0
        public override uint Apply(SWIGTYPE_p_std__string begin, SWIGTYPE_p_std__string end)
        {
            uint ret = XapianPINVOKE.StringValueRangeProcessor_Apply(swigCPtr, SWIGTYPE_p_std__string.getCPtr(begin), SWIGTYPE_p_std__string.getCPtr(end));

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #2
0
        public virtual string ResolveDuplicateMetadata(string key, uint num_tags, SWIGTYPE_p_std__string tags)
        {
            string ret = (SwigDerivedClassHasMethod("ResolveDuplicateMetadata", swigMethodTypes1) ? XapianPINVOKE.Compactor_ResolveDuplicateMetadataSwigExplicitCompactor(swigCPtr, key, num_tags, SWIGTYPE_p_std__string.getCPtr(tags)) : XapianPINVOKE.Compactor_ResolveDuplicateMetadata(swigCPtr, key, num_tags, SWIGTYPE_p_std__string.getCPtr(tags)));

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }