This commit is contained in:
Patrick Pelissier committed 2018-09-19 22:22:57 +02:00
commit 49a6715dfe
1 file changed
+4 -2
+4 -2
View File
@@ -148,8 +148,10 @@ How to use
---------- ----------
To use these data structures, you include the desired header, To use these data structures, you include the desired header,
instantiate the definition of the structure and its associated methods by using a macro _DEF. instantiate the definition of the structure and its associated methods
Then you use the defined functions. Let's see a first example: by using a macro _DEF for the needed type.
Then you use the defined functions. Let's see a first simple example
that creates a list of unsigned int:
#include <stdio.h> #include <stdio.h>
#include "m-list.h" #include "m-list.h"