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

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

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

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