Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwpl.git;a=commitdiff;h=c1e5c2b36883d2aa19cc173fdccb2eb5d262af88

commit c1e5c2b36883d2aa19cc173fdccb2eb5d262af88
Author: James Buren <[email protected]>
Date:   Sun Sep 20 17:39:43 2009 -0500

utility.h
* initial draft

diff --git a/src/utility.h b/src/utility.h
new file mode 100644
index 0000000..5f33fda
--- /dev/null
+++ b/src/utility.h
@@ -0,0 +1,12 @@
+#ifndef _utility_header_
+#define _utility_header_
+//[of]:includes
+#include <stddef.h>
+//[cf]
+//[of]:macros
+#define new(T) xmalloc(sizeof(*(T)))
+//[cf]
+//[of]:prototypes
+extern void *xmalloc(size_t);
+//[cf]
+#endif
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to