From 3484c9675a8a09904e08e00bf6842d834cd0201d Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 4 May 2013 17:38:53 -0400 Subject: Add memory allocation cleanup to loadable objects. Add gmk_alloc() and gmk_free() functions so loadable objects can access our memory model. Also provide a more extensive example in the manual. --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index ea20753..9f30bf7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2013-05-04 Paul Smith + * loadapi.c (gmk_alloc): New function. + * gnumake.h: Add gmk_alloc(). Clean GMK_EXPORT a bit to avoid MAIN. + * makeint.h (GMK_EXPORT): New handling, vs. MAIN. + * doc/make.texi (Loaded Object API): Add information on the memory + handling functions. + (Loaded Object Example): Create an example. + * job.c (pump_from_tmp): (Rename) Write to stdout/stderr using FILE* rather than fd. It's not a good idea to mix and match. -- cgit v1.2.3