Commit fcde5767 authored by John Haley's avatar John Haley

Starting to fix update errors

parent 7d2f3572
......@@ -522,6 +522,32 @@
"error": -1
}
},
"git_transport_certificate_check_cb": {
"args": [
{
"name": "cert",
"cType": "git_cert *"
},
{
"name": "valid",
"cType": "int"
},
{
"name": "host",
"cType": "const char *"
},
{
"name": "payload",
"cType": "void *"
}
],
"return": {
"type": "int",
"noResults": 1,
"success": 0,
"error": -1
}
},
"git_transport_message_cb": {
"args": [
{
......
......@@ -214,6 +214,22 @@
}
}
},
"clone_options": {
"fields": {
"repository_cb": {
"ignore": true
},
"repository_cb_payload": {
"ignore": true
},
"remote_cb": {
"ignore": true
},
"remote_cb_payload": {
"ignore": true
}
}
},
"commit": {
"functions": {
"git_commit_create": {
......
......@@ -357,16 +357,6 @@
"git_odb_object_type"
]
],
[
"merge_head",
[
"git_merge_head_free",
"git_merge_head_from_fetchhead",
"git_merge_head_from_id",
"git_merge_head_from_ref",
"git_merge_head_id"
]
],
[
"status_list",
[
......
......@@ -108,6 +108,7 @@ module.exports = function generateNativeCode() {
utils.writeFile("../lib/nodegit.js", beautify(templates.nodegitJS.render(enabled)));
// Write out all the classes.
enabled.forEach(function(idef) {
if (idef.filename == 'clone_options') debugger;
try {
if (idef.type && idef.type != "enum") {
utils.writeFile(
......
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