本文整理汇总了C#中SWIGTYPE_p_void类的典型用法代码示例。如果您正苦于以下问题:C# SWIGTYPE_p_void类的具体用法?C# SWIGTYPE_p_void怎么用?C# SWIGTYPE_p_void使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SWIGTYPE_p_void类属于命名空间,在下文中一共展示了SWIGTYPE_p_void类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: convert
public static SWIGTYPE_p_void convert(SWIGTYPE_p_BSONTYPE fromType, SWIGTYPE_p_BSONTYPE toType, SWIGTYPE_p_void value)
{
IntPtr cPtr = djonwrapperPINVOKE.convert(SWIGTYPE_p_BSONTYPE.getCPtr(fromType), SWIGTYPE_p_BSONTYPE.getCPtr(toType), SWIGTYPE_p_void.getCPtr(value));
SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
if (djonwrapperPINVOKE.SWIGPendingException.Pending) throw djonwrapperPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
开发者ID:jcyovera,项目名称:djondb,代码行数:7,代码来源:djonwrapper.cs
示例2: create
public virtual PortWriterWrapper create(PortWriterBufferManager man, SWIGTYPE_p_void tracker)
{
IntPtr cPtr = yarpPINVOKE.PortWriterBufferBase_create(swigCPtr, PortWriterBufferManager.getCPtr(man), SWIGTYPE_p_void.getCPtr(tracker));
PortWriterWrapper ret = (cPtr == IntPtr.Zero) ? null : new PortWriterWrapper(cPtr, false);
if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
开发者ID:johnty,项目名称:YarpUnity,代码行数:7,代码来源:PortWriterBufferBase.cs
示例3: setMemory
public int setMemory(SWIGTYPE_p_void vInput, int nInputSize)
{
int ret = otapiPINVOKE.OTPassword_setMemory(swigCPtr, SWIGTYPE_p_void.getCPtr(vInput), nInputSize);
return ret;
}
开发者ID:DocMerlin,项目名称:Open-Transactions,代码行数:5,代码来源:OTPassword.cs
示例4: setClientInfo
public virtual void setClientInfo(SWIGTYPE_p_void clientinfo) {
bwapiPINVOKE.Unit_setClientInfo(swigCPtr, SWIGTYPE_p_void.getCPtr(clientinfo));
}
开发者ID:Omnigazer,项目名称:StarcraftBot,代码行数:3,代码来源:Unit.cs
示例5: release
public virtual void release(SWIGTYPE_p_void handle)
{
yarpPINVOKE.BufferedPortImageFloat_release(swigCPtr, SWIGTYPE_p_void.getCPtr(handle));
}
开发者ID:johnty,项目名称:YarpUnity,代码行数:4,代码来源:BufferedPortImageFloat.cs
示例6: getCPtr
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_void obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
开发者ID:BugFreeSoftware,项目名称:Open-Transactions,代码行数:3,代码来源:SWIGTYPE_p_void.cs
示例7: Value
public Value(SWIGTYPE_p_void data, int length)
: this(yarpPINVOKE.new_Value__SWIG_6(SWIGTYPE_p_void.getCPtr(data), length), true)
{
}
开发者ID:johnty,项目名称:YarpUnity,代码行数:4,代码来源:Value.cs
示例8: randomizeMemory
public static bool randomizeMemory(SWIGTYPE_p_void szDestination, SWIGTYPE_p_uint32_t nNewSize)
{
bool ret = otapiPINVOKE.OTPassword_randomizeMemory__SWIG_2(SWIGTYPE_p_void.getCPtr(szDestination), SWIGTYPE_p_uint32_t.getCPtr(nNewSize));
if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
开发者ID:redarrowdev,项目名称:Open-Transactions,代码行数:6,代码来源:OTPassword.cs
示例9: stbi_loadf_from_callbacks
public static SWIGTYPE_p_float stbi_loadf_from_callbacks(stbi_io_callbacks clbk, SWIGTYPE_p_void user, SWIGTYPE_p_int x, SWIGTYPE_p_int y, SWIGTYPE_p_int comp, int req_comp) {
IntPtr cPtr = OpenGLSupportPINVOKE.stbi_loadf_from_callbacks(stbi_io_callbacks.getCPtr(clbk), SWIGTYPE_p_void.getCPtr(user), SWIGTYPE_p_int.getCPtr(x), SWIGTYPE_p_int.getCPtr(y), SWIGTYPE_p_int.getCPtr(comp), req_comp);
SWIGTYPE_p_float ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);
return ret;
}
开发者ID:sanglin307,项目名称:bulletlib-2.81-rev2613,代码行数:5,代码来源:OpenGLSupport.cs
示例10: stbi_info_from_callbacks
public static int stbi_info_from_callbacks(stbi_io_callbacks clbk, SWIGTYPE_p_void user, SWIGTYPE_p_int x, SWIGTYPE_p_int y, SWIGTYPE_p_int comp) {
int ret = OpenGLSupportPINVOKE.stbi_info_from_callbacks(stbi_io_callbacks.getCPtr(clbk), SWIGTYPE_p_void.getCPtr(user), SWIGTYPE_p_int.getCPtr(x), SWIGTYPE_p_int.getCPtr(y), SWIGTYPE_p_int.getCPtr(comp));
return ret;
}
开发者ID:sanglin307,项目名称:bulletlib-2.81-rev2613,代码行数:4,代码来源:OpenGLSupport.cs
示例11: stbi_image_free
public static void stbi_image_free(SWIGTYPE_p_void retval_from_stbi_load) {
OpenGLSupportPINVOKE.stbi_image_free(SWIGTYPE_p_void.getCPtr(retval_from_stbi_load));
}
开发者ID:sanglin307,项目名称:bulletlib-2.81-rev2613,代码行数:3,代码来源:OpenGLSupport.cs
示例12: stbi_is_hdr_from_callbacks
public static int stbi_is_hdr_from_callbacks(stbi_io_callbacks clbk, SWIGTYPE_p_void user) {
int ret = OpenGLSupportPINVOKE.stbi_is_hdr_from_callbacks(stbi_io_callbacks.getCPtr(clbk), SWIGTYPE_p_void.getCPtr(user));
return ret;
}
开发者ID:sanglin307,项目名称:bulletlib-2.81-rev2613,代码行数:4,代码来源:OpenGLSupport.cs
示例13: OTPassword
public OTPassword(SWIGTYPE_p_void vInput, int nInputSize)
: this(otapiPINVOKE.new_OTPassword__SWIG_5(SWIGTYPE_p_void.getCPtr(vInput), nInputSize), true)
{
}
开发者ID:DocMerlin,项目名称:Open-Transactions,代码行数:4,代码来源:OTPassword.cs
示例14: gzseek
public static int gzseek(SWIGTYPE_p_void fp, int offset, int where) {
int ret = ScidPINVOKE.gzseek(SWIGTYPE_p_void.getCPtr(fp), offset, where);
return ret;
}
开发者ID:pbbwfc,项目名称:ScidNET,代码行数:4,代码来源:Scid.cs
示例15: gzclose
public static int gzclose(SWIGTYPE_p_void fp) {
int ret = ScidPINVOKE.gzclose(SWIGTYPE_p_void.getCPtr(fp));
return ret;
}
开发者ID:pbbwfc,项目名称:ScidNET,代码行数:4,代码来源:Scid.cs
示例16: safe_memcpy
public static SWIGTYPE_p_void safe_memcpy(SWIGTYPE_p_void dest, SWIGTYPE_p_uint32_t dest_size, SWIGTYPE_p_void src, SWIGTYPE_p_uint32_t src_length)
{
global::System.IntPtr cPtr = otapiPINVOKE.OTPassword_safe_memcpy__SWIG_1(SWIGTYPE_p_void.getCPtr(dest), SWIGTYPE_p_uint32_t.getCPtr(dest_size), SWIGTYPE_p_void.getCPtr(src), SWIGTYPE_p_uint32_t.getCPtr(src_length));
SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
开发者ID:redarrowdev,项目名称:Open-Transactions,代码行数:7,代码来源:OTPassword.cs
示例17: makeBlob
public static Value makeBlob(SWIGTYPE_p_void data, int length)
{
IntPtr cPtr = yarpPINVOKE.Value_makeBlob(SWIGTYPE_p_void.getCPtr(data), length);
Value ret = (cPtr == IntPtr.Zero) ? null : new Value(cPtr, false);
return ret;
}
开发者ID:johnty,项目名称:YarpUnity,代码行数:6,代码来源:Value.cs
示例18: zeroMemory
public static void zeroMemory(SWIGTYPE_p_void vMemory, SWIGTYPE_p_uint32_t theSize)
{
otapiPINVOKE.OTPassword_zeroMemory__SWIG_2(SWIGTYPE_p_void.getCPtr(vMemory), SWIGTYPE_p_uint32_t.getCPtr(theSize));
if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
}
开发者ID:redarrowdev,项目名称:Open-Transactions,代码行数:5,代码来源:OTPassword.cs
示例19: release
public virtual void release(SWIGTYPE_p_void key)
{
yarpPINVOKE.PortReaderBufferBase_release__SWIG_1(swigCPtr, SWIGTYPE_p_void.getCPtr(key));
}
开发者ID:johnty,项目名称:YarpUnity,代码行数:4,代码来源:PortReaderBufferBase.cs
示例20: addMemory
public SWIGTYPE_p_int32_t addMemory(SWIGTYPE_p_void vAppend, SWIGTYPE_p_uint32_t nAppendSize)
{
SWIGTYPE_p_int32_t ret = new SWIGTYPE_p_int32_t(otapiPINVOKE.OTPassword_addMemory(swigCPtr, SWIGTYPE_p_void.getCPtr(vAppend), SWIGTYPE_p_uint32_t.getCPtr(nAppendSize)), true);
if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
开发者ID:redarrowdev,项目名称:Open-Transactions,代码行数:6,代码来源:OTPassword.cs
注:本文中的SWIGTYPE_p_void类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论