mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-09 16:21:45 +00:00
Sync src with amalgamated versions
Now src contains exactly what's embedded in mongoose.c and .h, nothing more. Added `tools/amalgam.sh` to aamlgamate both files at once. There are no functional changes to mongoose.c, .h in this PR, only slight filename changes.
This commit is contained in:
1 parent
73a2b92278
commit
b0a1cd7b0d
198 files changed
+2870
-23966
No files matched your search
+4
-2
@@ -8,8 +8,8 @@ This directory contains utilities to split and re-constitute amalgamated files.
|
||||
Here's how `mongoose.c` can be split into its consituent parts:
|
||||
```
|
||||
$ tools/unamalgam.py mongoose.c
|
||||
=> mongoose/src/internal.h
|
||||
=> common/cs_dbg.h
|
||||
=> src/mg_internal.h
|
||||
=> src/common/mg_mem.h
|
||||
...
|
||||
```
|
||||
|
||||
@@ -20,3 +20,5 @@ $ tools/amalgam.py --prefix=MG --public-header=mongoose.h $(cat mongoose.c.manif
|
||||
```
|
||||
|
||||
The same applies to `mongoose.h`, except `--public-header` should be omitted during amalgamation.
|
||||
|
||||
`tools/amalgam.sh` can be used to assemble `mongoose.c` and `mongoose.h`.
|
||||
Reference in new issue
Block a user