IdentToInt use Map array (Map: array of TIdentMapEntry) not IntConstList with TIdentToInt registered functions And i emulating writing property values like as "procedure TWriter.WriteProperty" in writer.inc.
On 7/3/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
On Tue, 3 Jul 2007, zaher dirkey wrote: > Hi, > I need make this functions founded in classes.inc > function FindIntToIdent(AIntegerType: Pointer): TIntToIdent; > function FindIdentToInt(AIntegerType: Pointer): TIdentToInt; Why don't you use the IdentToInt and IntToIdent functions ? The streaming in lazarus works perfectly without these 2 functions, and exposing an internal function is not a good idea; Then we cannot change them anymore. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
-- zaher dirkey
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal