예제 #1
0
 public static void FLSlot_SetData(FLSlot *x, byte[] slice)
 {
     fixed(byte *slice_ = slice)
     {
         NativeRaw.FLSlot_SetData(x, new FLSlice(slice_, (ulong)slice.Length));
     }
 }
예제 #2
0
 public override void FLSlotSet(FLSlot *slot)
 {
     if (_dict == null)
     {
         Native.FLSlot_SetNull(slot);
     }
     else
     {
         Native.FLSlot_SetValue(slot, (FLValue *)_dict);
     }
 }
예제 #3
0
 public unsafe void FLSlotSet(FLSlot *slot)
 {
     Debug.Assert(!IsEmpty);
     if (Value == null)
     {
         Native.FLSlot_SetNull(slot);
     }
     else
     {
         NativeObject.FLSlotSet(slot);
     }
 }
예제 #4
0
 internal void FLSlotSet(FLSlot *slot)
 {
     JsonRepresentation.FLSlotSet(slot);
 }
예제 #5
0
 public abstract void FLSlotSet(FLSlot *slot);
 public static extern void FLSlot_SetData(FLSlot *x, FLSlice slice);
 public static extern void FLSlot_SetString(FLSlot *x, FLSlice str);
 public static extern void FLSlot_SetValue(FLSlot *x, FLValue *value);
 public static extern void FLSlot_SetDouble(FLSlot *x, double d);
 public static extern void FLSlot_SetFloat(FLSlot *x, float f);
 public static extern void FLSlot_SetUInt(FLSlot *x, ulong u);
 public static extern void FLSlot_SetInt(FLSlot *x, long l);
 public static extern void FLSlot_SetBool(FLSlot *x, [MarshalAs(UnmanagedType.U1)] bool b);
 public static extern void FLSlot_SetNull(FLSlot *x);
예제 #15
0
 public override void FLSlotSet(FLSlot *slot)
 {
     _slot.FLSlotSet(slot);
 }
예제 #16
0
 public unsafe void FLSlotSet(FLSlot *slot)
 {
     _dict.FLSlotSet(slot);
 }
 public static void FLSlot_SetString(FLSlot *x, string str)
 {
     using (var str_ = new C4String(str)) {
         NativeRaw.FLSlot_SetString(x, (FLSlice)str_.AsFLSlice());
     }
 }