Example #1
0
 internal static void NpyObject_Init(NpyObject_HEAD a, NpyTypeObject t)
 {
     a.nob_refcnt       = 1;
     a.nob_type         = t;
     a.nob_interface    = null;
     a.nob_magic_number = npy_defs.NPY_VALID_MAGIC;
 }
Example #2
0
 public NpyObject_HEAD()
 {
     nob_type         = new NpyTypeObject();
     nob_magic_number = npy_defs.NPY_VALID_MAGIC;
 }