Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2007-04

TWriter writing fake methods

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

Here is a patch to extend TWriter.OnWriteMethodProperty. Formerly it gives only the ancestor code address, not the method data. And it misses the property path, which is needed to write sub properties like Font.OnChange.

With this patch lazarus can get rid of the dirty hack to create methods.

Mattias

Reply by email

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 7 lines
Here is a patch to extend TWriter.OnWriteMethodProperty. Formerly it gives only the ancestor code address, not the method data. And it misses the property path, which is needed to write sub properties like Font.OnChange. With this patch lazarus can get rid of the dirty hack to create methods.

Applied (revision 7201). Thank you.

Michael.

Reply by email

Vincent Snijders
to Michael Van Canneyt
Michael Van Canneyt wrote 13 lines
On Mon, 30 Apr 2007, Mattias Gaertner wrote: > Here is a patch to extend TWriter.OnWriteMethodProperty. Formerly it > gives only the ancestor code address, not the method data. > And it misses the property path, which is needed to write sub properties > like Font.OnChange. > > With this patch lazarus can get rid of the dirty hack to create > methods. Applied (revision 7201). Thank you.

Can this be merged to the fixes_2_2 branch, after tonights test suite run? We need this for lazarus to run properly on win64.

Vincent

Reply by email