summaryrefslogtreecommitdiffhomepage
path: root/API-C.md
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2023-08-24 01:08:40 +0100
committerAndrew Clayton <a.clayton@nginx.com>2023-08-24 01:08:40 +0100
commit093f7d0810b608a398d850b1f3a7661c1a129d25 (patch)
treeeb4e00b88388478a0c95e516a8b448c85367970e /API-C.md
parent9c0782ddaec7d83539d86eb8a283c7cb8135acf4 (diff)
downloadunit-wasm-093f7d0810b608a398d850b1f3a7661c1a129d25.tar.gz
unit-wasm-093f7d0810b608a398d850b1f3a7661c1a129d25.tar.bz2
libunit-wasm: Put LUW_SRB_FLAGS_ALL in the enum
No reason why this needed to be a separate #define. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to '')
-rw-r--r--API-C.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/API-C.md b/API-C.md
index b79ef23..d26df8c 100644
--- a/API-C.md
+++ b/API-C.md
@@ -117,9 +117,10 @@ typedef enum {
LUW_SRB_APPEND = 0x01,
LUW_SRB_ALLOC = 0x02,
LUW_SRB_FULL_SIZE = 0x04,
+
+ LUW_SRB_FLAGS_ALL = (LUW_SRB_NONE|LUW_SRB_APPEND|LUW_SRB_ALLOC|
+ LUW_SRB_FULL_SIZE)
} luw_srb_flags_t;
-#define LUW_SRB_FLAGS_ALL \
- (LUW_SRB_NONE|LUW_SRB_APPEND|LUW_SRB_ALLOC|LUW_SRB_FULL_SIZE
```
## Structs