Skip to content

Commit c396aa5

Browse files
committed
More callbacks
1 parent 1c97062 commit c396aa5

1 file changed

Lines changed: 45 additions & 1 deletion

File tree

generate/input/callbacks.json

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,32 @@
138138
"error": -1
139139
}
140140
},
141+
"git_diff_line_cb": {
142+
"args": [
143+
{
144+
"name": "delta",
145+
"cType": "const git_diff_delta *"
146+
},
147+
{
148+
"name": "hunk",
149+
"cType": "const git_diff_hunk *"
150+
},
151+
{
152+
"name": "line",
153+
"cType": "const git_diff_line *"
154+
},
155+
{
156+
"name": "payload",
157+
"cType": "void *"
158+
}
159+
],
160+
"return": {
161+
"type": "int",
162+
"noResults": 1,
163+
"success": 0,
164+
"error": -1
165+
}
166+
},
141167
"git_status_cb": {
142168
"args": [
143169
{
@@ -408,7 +434,7 @@
408434
"error": -1
409435
}
410436
},
411-
"git_transport_message_cb": {
437+
"git_repository_fetchhead_foreach_cb": {
412438
"args": [
413439
{
414440
"name": "refname",
@@ -605,5 +631,23 @@
605631
"success": 0,
606632
"error": -1
607633
}
634+
},
635+
"git_config_foreach_cb": {
636+
"args": [
637+
{
638+
"name": "entry",
639+
"cType": "const git_config_entry *"
640+
},
641+
{
642+
"name": "payload",
643+
"cType": "void *"
644+
}
645+
],
646+
"return": {
647+
"type": "int",
648+
"noResults": 1,
649+
"success": 0,
650+
"error": -1
651+
}
608652
}
609653
}

0 commit comments

Comments
 (0)