Re: categories in core

Peter Bienstman <[email protected]> Sun, 12 Oct 2003 20:26:16 +0200
Newsgroups gmane.comp.tools.memaid.devel
Organization Ghent University
Message-ID <[email protected]>
On Sunday 12 October 2003 20:20, you wrote:
> On Sunday 12 October 2003 20:13, David Calinski wrote:
> > So what do you think, use such functions:
> >
> > ma_activate_category (char*);
> > ma_deactivate_category(char*);
> > ma_activate_all_categories();
> > ma_deactivate_all_categories();
>
> I think this looks good. It will probably also be more efficient than
> passing arrays around as function arguments.

Another, albeit smaller advantage is that it keeps the signature of functions 
like ma_next_elem() the same as compared to the non-category version. Much 
easier for the client developers ;-)

Peter
-- 
------------------------------------------------
Peter Bienstman
Ghent University, Dep. of Information Technology
Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium
tel: +32 9 264 34 45, fax: +32 9 264 35 93
WWW: http://photonics.intec.ugent.be
email: [email protected]
------------------------------------------------



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php