static public unsafe SmartPointer New(short *ptr) { SmartPointer ret = new SmartPointer(); ret.sp = ptr; return(ret); }
static public unsafe SmartPointer New(long *ptr) { SmartPointer ret = new SmartPointer(); ret.lp = ptr; return(ret); }
static public unsafe SmartPointer New(byte *ptr) { SmartPointer ret = new SmartPointer(); ret.bp = ptr; return(ret); }