You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fio-stl/000 core.md
+10-10
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,13 @@ The library in written and tested on POSIX systems. Windows support was added af
26
26
27
27
Please note I cannot continually test the windows support as I avoid the OS... hence, Windows OS support should be considered unstable.
28
28
29
-
## Server Toolbox lIbrary (STL) Overview
29
+
## Server Toolbox Library (STL) Overview
30
30
31
-
At the core of the [facil.io library](https://facil.io) is its powerful Server Toolbox lIbrary for C (and C++).
31
+
At the core of the [facil.io library](https://facil.io) is its powerful Server Toolbox Library for C (and C++).
32
32
33
-
The Server Toolbox lIbrary is a "swiss-army-knife" library, that uses MACROS to generate code for different common types, such as Hash Maps, Arrays, Linked Lists, Binary-Safe Strings, etc'.
33
+
The Server Toolbox Library is a "swiss-army-knife" library, that uses MACROS to generate code for different common types, such as Hash Maps, Arrays, Linked Lists, Binary-Safe Strings, etc'.
34
34
35
-
The [testable](#testing-the-library-fio_test_cstl) header library includes a Server Toolbox lIbrary for the following common types:
35
+
The [testable](#testing-the-library-fio_test_cstl) header library includes a Server Toolbox Library for the following common types:
36
36
37
37
*[Binary Safe Dynamic Strings](#dynamic-strings) - defined by `FIO_STR_NAME` / `FIO_STR_SMALL`
38
38
@@ -45,7 +45,7 @@ The [testable](#testing-the-library-fio_test_cstl) header library includes a Ser
45
45
*[Soft / Dynamic Types (FIOBJ)](#fiobj-soft-dynamic-types) - defined by `FIO_FIOBJ`
46
46
47
47
48
-
In addition, the core Server Toolbox lIbrary (STL) includes helpers for common tasks, such as:
48
+
In addition, the core Server Toolbox Library (STL) includes helpers for common tasks, such as:
49
49
50
50
*[Fast String / Number conversion](#string-number-conversion) - defined by `FIO_ATOL`
51
51
@@ -73,7 +73,7 @@ In addition, the core Server Toolbox lIbrary (STL) includes helpers for common t
73
73
74
74
## Compilation Modes
75
75
76
-
The Server Toolbox lIbrary types and functions could be compiled as either static or extern ("global"), either limiting their scope to a single C file (compilation unit) or exposing them throughout the program.
76
+
The Server Toolbox Library types and functions could be compiled as either static or extern ("global"), either limiting their scope to a single C file (compilation unit) or exposing them throughout the program.
77
77
78
78
### Static Functions by Default
79
79
@@ -83,13 +83,13 @@ To change this behavior, `FIO_EXTERN` and `FIO_EXTERN_COMPLETE` could be used to
83
83
84
84
#### `FIO_EXTERN`
85
85
86
-
If defined, the the Server Toolbox lIbrary will generate non-static code.
86
+
If defined, the the Server Toolbox Library will generate non-static code.
87
87
88
88
If `FIO_EXTERN` is defined alone, only function declarations and inline functions will be generated.
89
89
90
90
If `FIO_EXTERN_COMPLETE` is defined, the function definition (the implementation code) will also be generated.
91
91
92
-
**Note**: the `FIO_EXTERN` will be **automatically undefined** each time the Server Toolbox lIbrary header is included, **unless** the `FIO_EXTERN` is defined with a **numerical** value other than `1` (a compiler default value in some cases), in which case the `FIO_EXTERN` definition will remain in force until manually removed.
92
+
**Note**: the `FIO_EXTERN` will be **automatically undefined** each time the Server Toolbox Library header is included, **unless** the `FIO_EXTERN` is defined with a **numerical** value other than `1` (a compiler default value in some cases), in which case the `FIO_EXTERN` definition will remain in force until manually removed.
93
93
94
94
For example, in the header (i.e., `mymem.h`), use:
95
95
@@ -113,7 +113,7 @@ Later, in the implementation file, use:
113
113
114
114
When defined, this macro will force full code generation.
115
115
116
-
**Note**: the `FIO_EXTERN_COMPLETE` will be **automatically undefined** each time the Server Toolbox lIbrary header is included, **unless** the `FIO_EXTERN_COMPLETE` is defined with a **numerical** value other than `1` (a compiler default value in some cases), in which case the `FIO_EXTERN_COMPLETE` definition will remain in force until manually removed.
116
+
**Note**: the `FIO_EXTERN_COMPLETE` will be **automatically undefined** each time the Server Toolbox Library header is included, **unless** the `FIO_EXTERN_COMPLETE` is defined with a **numerical** value other than `1` (a compiler default value in some cases), in which case the `FIO_EXTERN_COMPLETE` definition will remain in force until manually removed.
@@ -186,7 +186,7 @@ Defined the `fio_test_dynamic_types` and enables as many testing features as pos
186
186
187
187
## Version and Common Helper Macros
188
188
189
-
The facil.io C STL (Server Toolbox lIbrary) offers a number of common helper macros that are also used internally. These are automatically included once the `fio-stl.h` is included.
189
+
The facil.io C STL (Server Toolbox Library) offers a number of common helper macros that are also used internally. These are automatically included once the `fio-stl.h` is included.
0 commit comments