Example #1
0
 public Slot(TypeSlotID id, IntPtr value)
 {
     ID    = id;
     Value = value;
 }
Example #2
0
        internal IntPtr GetSlot(TypeSlotID slot)
        {
            IntPtr result = Runtime.PyType_GetSlot(this.Reference, slot);

            return(Exceptions.ErrorCheckIfNull(result));
        }