summaryrefslogtreecommitdiffhomepage
path: root/docs/cstack_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-12-03 14:22:01 +0100
committerTyge Løvset <[email protected]>2020-12-03 14:22:01 +0100
commit870a601a62c804f9d15efe5856cc6018b076dfe6 (patch)
treecdd38bfd44bd12b17f682b09163bf06039c9db5e /docs/cstack_api.md
parent79be0ee109904542ed0ece119c0432f4b629cd44 (diff)
downloadSTC-modified-870a601a62c804f9d15efe5856cc6018b076dfe6.tar.gz
STC-modified-870a601a62c804f9d15efe5856cc6018b076dfe6.zip
Some more fixes.
Diffstat (limited to 'docs/cstack_api.md')
-rw-r--r--docs/cstack_api.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/cstack_api.md b/docs/cstack_api.md
index a442b30d..898b5d8f 100644
--- a/docs/cstack_api.md
+++ b/docs/cstack_api.md
@@ -5,23 +5,23 @@ This describes the API of the queue type **cstack**.
## Declaration
```c
-#define using_cstack(X, CType)
+#define using_cstack(X, ctype)
```
The macro `using_cstack()` must be instantiated in the global scope.
-**cstack** uses normally a **cvec** type as underlying implementation, given as CType.
+**cstack** uses normally a **cvec** type as underlying implementation, given as `ctype`.
Default values are given above for args not specified. `X` is a type tag name and
will affect the names of all cstack types and methods. E.g. declaring `using_cstack(my, cvec_my);`,
`X` should be replaced by `my` in all of the following documentation.
## Types
-| Type name | Type definition | Used to represent... |
-|:----------------------|:---------------------------------------|:------------------------------------|
-| `cstack_X` | Depends on underlying container type | The cstack type |
-| `cstack_X_value_t` | | The cstack element type |
-| `cstack_X_input_t` | | cstack input type |
-| `cstack_X_rawvalue_t` | | cstack raw value type |
-| `cstack_X_iter_t` | | cstack iterator |
+| Type name | Type definition | Used to represent... |
+|:----------------------|:---------------------------------------|:----------------------------|
+| `cstack_X` | Depends on underlying container type | The cstack type |
+| `cstack_X_value_t` | " | The cstack element type |
+| `cstack_X_input_t` | " | cstack input type |
+| `cstack_X_rawvalue_t` | " | cstack raw value type |
+| `cstack_X_iter_t` | " | cstack iterator |
## Header file