[lazarus] Remove interface class?

Micha Nelissen micha at neli.hopto.org
Thu Dec 18 03:47:30 EST 2003


Hi,

As the code is, currently, we can remove the interface class. The global 
interface functions will stay and be pointers and the interfacebase will 
implement them as it does now. The platform interfaces can rewrite the 
functions as needed, and the private variables can be global variables 
private to the unit (as there is only one instance of the interface 
class). Advantages:

1) possibly remove IF_BASE_MEMBER stuff because only one global 
declaration of each interface function
2) speedup and code reduction, because the self pointer doesn't have to 
be passed anymore.

What do you think?

Micha.






More information about the Lazarus mailing list