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

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

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

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