Interface versioning

Holger Freyther freyther at gmx.net
Fri Jul 19 11:26:43 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Friday 19 July 2002 09:55 schrieb Joseph Wenninger:
> Hi
>
> On Friday 19 July 2002 00:22, Richard Moore wrote:
> > There appear to be some memory leaks here, eg. if there's no factory in
> > the library the KLibrary appears to be leaked. Is it destroyed somewhere
> > else, or is this a real problem?
> >
> > Cheers
> >
> > Rich.
>
> I took most of the code from the other templete methods. I think the
> ->unload() destroyes the klibrary automatically. I'll have a look.
>
>
> What do you think about the basic idea of versioning interfaces ?
>
>
> Would it be BC to replace
>
>                                       ErrNoComponent };
> -
> +       enum ExtendedComponentLoadingError {ErrWrongVerson=6};
>
> by
> 			ErrNoComponent,
> 			ErrWrongVersion};

it should be binary compatible


>
> Kind regards
> Joseph Wenninger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9N+loGckbdURWU2oRAi34AJ9Xc2l6G3h54p3qb0XG3q9Vd3LkbACeLo+q
RUIVBdFQOAwVa/oXq+bVIwE=
=j1gU
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list