Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pascal Constructors & Destructors #2

Open
madorin opened this issue Dec 1, 2015 · 0 comments
Open

Pascal Constructors & Destructors #2

madorin opened this issue Dec 1, 2015 · 0 comments

Comments

@madorin
Copy link

madorin commented Dec 1, 2015

Hello Adriano,

Could you change PascalGenerator class to generate contructor & destructor names in a more object pascal way, ie first char capitalized (Create, Destroy). Now it all go lowercase.

Also, in base class, TObject destructor is defined as: procedure Destroy; virtual;
It means in override implementation you should call "inherited;" after specific class cleanup.

I just analyzed a bit generated code in FbApi.pas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant