Beispiel #1
0
        public static UnsignedShortPointer frompointer(SWIGTYPE_p_unsigned_short t)
        {
            IntPtr cPtr = SLikeNetPINVOKE.UnsignedShortPointer_frompointer(SWIGTYPE_p_unsigned_short.getCPtr(t));
            UnsignedShortPointer ret = (cPtr == IntPtr.Zero) ? null : new UnsignedShortPointer(cPtr, false);

            return(ret);
        }
        public ushort Pop()
        {
            SWIGTYPE_p_unsigned_short ret = PopHelper();

            return(UnsignedShortPointer.frompointer(ret).value());
        }
Beispiel #3
0
 internal static HandleRef getCPtr(UnsignedShortPointer obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
        public ushort Get(uint position)
        {
            SWIGTYPE_p_unsigned_short ret = GetHelper(position);

            return(UnsignedShortPointer.frompointer(ret).value());
        }