本文整理匯總了C#中System.IntPtr.ToIntPtr方法的典型用法代碼示例。如果您正苦於以下問題:C# IntPtr.ToIntPtr方法的具體用法?C# IntPtr.ToIntPtr怎麽用?C# IntPtr.ToIntPtr使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類System.IntPtr
的用法示例。
在下文中一共展示了IntPtr.ToIntPtr方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: LuaLError
public static void LuaLError(IntPtr luaState, string message) {
lua52.Interop.LuaLError(luaState.ToIntPtr(), message);
}
示例2: LuaRawSet
public static void LuaRawSet(IntPtr luaState, int index) {
lua52.Interop.LuaRawSet(luaState.ToIntPtr(), index);
}
示例3: LuaGetMetatable
public static int LuaGetMetatable(IntPtr luaState, int objIndex) {
return lua52.Interop.LuaGetMetatable(luaState.ToIntPtr(), objIndex);
}
示例4: LuaLLoadString
public static int LuaLLoadString(IntPtr luaState, byte[] chunk) {
return lua52.Interop.LuaLLoadStringArray(luaState.ToIntPtr(), chunk);
}
示例5: LuaInsert
public static void LuaInsert(IntPtr luaState, int newTop) {
lua52.Interop.LuaInsert(luaState.ToIntPtr(), newTop);
}
示例6: LuaNetIsStringStrict
public static int LuaNetIsStringStrict(IntPtr luaState, int index) {
return lua52.Interop.LuaNetIsStringStrict(luaState.ToIntPtr(), index);
}
示例7: LuaLOpenLibs
public static void LuaLOpenLibs(IntPtr luaState) {
lua52.Interop.LuaLOpenLibs(luaState.ToIntPtr());
}
示例8: LuaSetUpValue
public static IntPtr LuaSetUpValue(IntPtr luaState, int funcindex, int n) {
return lua52.Interop.LuaSetUpValue(luaState.ToIntPtr(), funcindex, n).ToIntPtr();
}
示例9: LuaLWhere
public static void LuaLWhere(IntPtr luaState, int level) {
lua52.Interop.LuaLWhere(luaState.ToIntPtr(), level);
}
示例10: LuaGetHookCount
public static int LuaGetHookCount(IntPtr luaState) {
return lua52.Interop.LuaGetHookCount(luaState.ToIntPtr());
}
示例11: LuaSetLocal
public static IntPtr LuaSetLocal(IntPtr luaState, IntPtr ar, int n) {
return lua52.Interop.LuaSetLocal(luaState.ToIntPtr(), ar.ToIntPtr(), n).ToIntPtr();
}
示例12: LuaSetHook
public static int LuaSetHook(IntPtr luaState, IntPtr func, int mask, int count) {
return lua52.Interop.LuaSetHook(luaState.ToIntPtr(), func.ToIntPtr(), mask, count);
}
示例13: LuaLCheckMetatable
public static int LuaLCheckMetatable(IntPtr luaState, int obj) {
return lua52.Interop.LuaLCheckMetatable(luaState.ToIntPtr(), obj);
}
示例14: LuaPushLightUserData
public static void LuaPushLightUserData(IntPtr luaState, IntPtr udata) {
lua52.Interop.LuaPushLightUserData(luaState.ToIntPtr(), udata.ToIntPtr());
}
示例15: LuaGetInfo
public static int LuaGetInfo(IntPtr luaState, string what, IntPtr ar) {
return lua52.Interop.LuaGetInfo(luaState.ToIntPtr(), what, ar.ToIntPtr());
}