|
From: Viktor M. <MIH...@de...> - 2001-11-28 09:01:08
|
Hi, I've added Adrian's mlog stuff (see below) to the NPI. There's no tag associated to it, just check out the latest NPI if you want to play with it. It will be also included in the next NPI release. The mlog functions come handy if you are doing a lot of mallocs and strdups as they will relieve you from manually freeing the storage (or from forgetting to free it.The source file npi/common/mlogsup.c contains a sample usage scenario. A word of caution: you may explicitly not free pointers managed by mlog (this includes calls to realloc !). Have Fun. Mit freundlichen Grüßen / Kind Regards Viktor Mihajlovski Linux Technology Center IBM Laboratory Böblingen, Germany Phone +49-7031-16-2560 E-Mail mih...@de... |