Skip to content

Commit 262d2fa

Browse files
committed
Enable git_status_foreach
1 parent da612cb commit 262d2fa

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

generate/input/callbacks.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,25 @@
127127
"returnNoResults": 1,
128128
"returnSuccess": 0,
129129
"returnError": -1
130+
},
131+
"git_status_cb": {
132+
"args": [
133+
{
134+
"name": "path",
135+
"cType": "const char"
136+
},
137+
{
138+
"name": "status_flags",
139+
"cType": "unsigned int"
140+
},
141+
{
142+
"name": "payload",
143+
"cType": "void *"
144+
}
145+
],
146+
"returnType": "int",
147+
"returnNoResults": 1,
148+
"returnSuccess": 0,
149+
"returnError": -1
130150
}
131151
}

generate/input/descriptor.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,10 +1282,10 @@
12821282
"ignore": true
12831283
},
12841284
"git_status_foreach": {
1285-
"ignore": true
1285+
"isAsync": true
12861286
},
12871287
"git_status_foreach_ext": {
1288-
"ignore": true
1288+
"isAsync": true
12891289
},
12901290
"git_status_init_options": {
12911291
"ignore": true

0 commit comments

Comments
 (0)