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

commit fda72d479d4bb849be8b92742661757065df1a43
Author: James Buren <[email protected]>
Date:   Sun Oct 18 18:23:13 2009 -0500

utility.h
* initial draft

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

Reply via email to