Fix spelling

This commit is contained in:
Patrick Pelissier committed 2017-03-11 11:31:37 +01:00
1 parent 5342302b49
commit 3c26dbbcb9
1 file changed
+4 -4
+4 -4
View File
@@ -89,7 +89,7 @@ Other headers offering other functionality are:
* m-bitset.h: header for creating bit set,
* m-string.h: header for creating variable-length string,
* m-core.h: header for meta-programming with the C preprocessor.
* m-mutex.h: header for providing a very thin layer accross multiple implementation of mutex/threads.
* m-mutex.h: header for providing a very thin layer across multiple implementation of mutex/threads.
* m-algo.h: header for providing various generic algorithms to the previous containers.
* m-register.h: header for static polymorphic TODO
@@ -238,7 +238,7 @@ When using M\*LIB, sometimes (often) the list of errors/warnings generated by th
even if the error itself is minor. This is more or less the same as the use of template in C++.
You should focus mainly on the first reported error/warning
even if the link between what the compiler said and what the error is is not immediate:
for example, a lack of inclusion of an header, an unkown oplist, a missing argument, a missing method in an oplist, ... Another way to debug is to generate the preprocessed file (by usuallt calling the compiler with the '-E' option instead of '-c') and check what's wrong in the preprocessed file.
for example, a lack of inclusion of an header, an unknown oplist, a missing argument, a missing method in an oplist, ... Another way to debug is to generate the preprocessed file (by usually calling the compiler with the '-E' option instead of '-c') and check what's wrong in the preprocessed file.
The final goal of the library is to be able to write code like this in pure C while keeping type safety and compile time name resolution:
@@ -334,7 +334,7 @@ Example:
(INIT(mpz_init),SET(mpz_set),INIT_SET(mpz_init_set),CLEAR(mpz_clear))
If there is two operations with the same name in an oplist, the left one has the priority. This allows partial overiding.
If there is two operations with the same name in an oplist, the left one has the priority. This allows partial overriding.
Memory Allocation
@@ -1439,7 +1439,7 @@ TODO: document the API.
This header is the internal core of M\*LIB, providing a lot of functionality
by extending a lot the preprocessing capability.
Working with these macros is not easy and the developper needs to know
Working with these macros is not easy and the developer needs to know
how the macro preprocessing works.
It also adds the needed macro for handling the oplist.
As a consequence, it is needed by all other header files.