Exemplo n.º 1
0
        static public unsafe SmartPointer New(short *ptr)
        {
            SmartPointer ret = new SmartPointer();

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

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

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