Skip to content

Commit

Permalink
fix: update despacer library
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Sep 5, 2024
1 parent 04ab0c8 commit 213e495
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "src/native/despacer"]
path = src/native/despacer
url = https://github.com/aminya/despacer
branch = minijson
[submodule "despacer"]
path = despacer
url = https://github.com/aminya/despacer.git
branch = fix-dub
1 change: 1 addition & 0 deletions despacer
Submodule despacer added at 4257e0
2 changes: 1 addition & 1 deletion dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ importPaths "./src/native"

dependency "automem" version="0.6.7"
preGenerateCommands "git submodule update --init" # despacer download
dependency "despacer" path="./src/native/despacer/bindings/d"
dependency "despacer" path="despacer"

configuration "executable" {
targetType "executable"
Expand Down
2 changes: 1 addition & 1 deletion dub.selections.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"fileVersion": 1,
"versions": {
"automem": "0.6.7",
"despacer": {"path":"src/native/despacer/bindings/d"},
"despacer": {"path":"despacer/"},
"test_allocator": "0.3.4",
"unit-threaded": "2.2.0"
}
Expand Down
1 change: 0 additions & 1 deletion src/native/despacer
Submodule despacer deleted from f1acbd
2 changes: 1 addition & 1 deletion src/native/libc.d
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import minijson.lib : minifyString;
Return:
the minified json string
*/
extern (C) auto c_minifyString(in char* jsonCString, in bool hasComment = false)
extern (C) auto c_minifyString(char* jsonCString, bool hasComment = false)
{
import std : fromStringz, toStringz;

Expand Down

0 comments on commit 213e495

Please sign in to comment.