[Lazarus] Can't compile trunk with fpc 2.4.5 under ubuntu

Marco van de Voort marcov at stack.nl
Mon Feb 27 13:18:39 CET 2012


On Mon, Feb 27, 2012 at 12:48:29PM +0100, Martin Schreiber wrote:
> > >     property BookmarkStr: TBookmarkStr read GetBookmarkStr write
> > > SetBookmarkStr;
> > > "
> > > so in user code we can have a bookmark type with automatic memory
> > > management.
> >
> > I'll study if the normal tbookmark can change to tbytes short term. If not,
> > I'll add the bookmarkstr as deprecated property for time being.
> >
> Using TBytes as TBookmark everywhere (especially internally in TDataset) 
> probably introduces unnecessary overhead.

Internally afaik tbookmark is not used but getbookmarkdata. Only in the
getters and setters of the bookmark property the data is copied to the
TBytes variable.





More information about the Lazarus mailing list