Beispiel #1
0
 public static String BoxParrotString(Parrot parrot, Parrot_String str)
 {
     IntPtr pmc_ptr = IntPtr.Zero;
     int result = Parrot_api_pmc_box_string(parrot.RawPointer, str.RawPointer, out pmc_ptr);
     if (result != 1)
         parrot.GetErrorResult();
     return new String(parrot, pmc_ptr);
 }
 public new IParrot_PMC this[Parrot_String key]
 {
     get { return new Generic(this.Parrot, base[key]); }
     set { base[key] = value.RawPointer; }
 }