Commit 6e6708ee authored by joshaber's avatar joshaber

Tell nodegit about git_submodule_foreach.

parent 4c97b46a
......@@ -611,6 +611,28 @@
"error": -1
}
},
"git_submodule_cb": {
"args": [
{
"name": "sm",
"cType": "git_submodule *"
},
{
"name": "name",
"cType": "const char *"
},
{
"name": "payload",
"cType": "void *"
}
],
"return": {
"type": "int",
"noResults": 0,
"success": 0,
"error": -1
}
},
"git_tag_foreach_cb": {
"args": [
{
......
......@@ -1962,7 +1962,18 @@
"submodule": {
"functions": {
"git_submodule_foreach": {
"ignore": true
"isAsync": true,
"args": {
"callback": {
"type": "git_submodule_cb",
"cType": "git_submodule_cb",
"cppClassName": "git_submodule_cb"
}
},
"return": {
"isErrorCode": true,
"type": "int"
}
},
"git_submodule_location": {
"ignore": true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment