Ejemplo n.º 1
0
        private static RC SynthCollSeq(Context ctx, CollSeq coll)
        {
            string z = coll.Name;

            for (int i = 0; i < 3; i++)
            {
                CollSeq coll2 = Callback.FindCollSeq(ctx, _SynthCollSeq_TextEncodes[i], z, false);
                if (coll2.Cmp != null)
                {
                    coll     = coll2.memcpy();
                    coll.Del = null; // Do not copy the destructor
                    return(RC.OK);
                }
            }
            return(RC.ERROR);
        }