From 3c26dbbcb90a97d9ea43ef06f21457b9ed23047c Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 11 Mar 2017 11:31:37 +0100 Subject: [PATCH] Fix spelling --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 871243c2..d34162a3 100644 --- a/README.md +++ b/README.md @@ -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.