示例#1
0
        static public unsafe SmartPointer New(short *ptr)
        {
            SmartPointer ret = new SmartPointer();

            ret.sp = ptr;
            return(ret);
        }
示例#2
0
        static public unsafe SmartPointer New(long *ptr)
        {
            SmartPointer ret = new SmartPointer();

            ret.lp = ptr;
            return(ret);
        }
示例#3
0
        static public unsafe SmartPointer New(byte *ptr)
        {
            SmartPointer ret = new SmartPointer();

            ret.bp = ptr;
            return(ret);
        }