Skip to content

Commit 35b2940

Browse files
committed
Mark functions returning owned oids
1 parent c6ecb24 commit 35b2940

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

generate/input/descriptor.json

+64
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@
7373
{
7474
"annotated_commit": {
7575
"functions": {
76+
"git_annotated_commit_id": {
77+
"return": {
78+
"ownedByThis": true
79+
}
80+
}
7681
}
7782
},
7883
"attr": {
@@ -1002,6 +1007,11 @@
10021007
"git_index_add_frombuffer": {
10031008
"ignore": true
10041009
},
1010+
"git_index_checksum": {
1011+
"return": {
1012+
"ownedByThis": true
1013+
}
1014+
},
10051015
"git_index_clear": {
10061016
"isAsync": true,
10071017
"return": {
@@ -1198,6 +1208,11 @@
11981208
"git_indexer_append": {
11991209
"ignore": true
12001210
},
1211+
"git_indexer_hash": {
1212+
"return": {
1213+
"ownedByThis": true
1214+
}
1215+
},
12011216
"git_indexer_new": {
12021217
"ignore": true
12031218
}
@@ -1277,6 +1292,11 @@
12771292
}
12781293
}
12791294
},
1295+
"git_note_id": {
1296+
"return": {
1297+
"ownedByThis": true
1298+
}
1299+
},
12801300
"git_note_remove": {
12811301
"isAsync": true,
12821302
"return": {
@@ -1293,6 +1313,11 @@
12931313
},
12941314
"object": {
12951315
"functions": {
1316+
"git_object_id": {
1317+
"return": {
1318+
"ownedByThis": true
1319+
}
1320+
},
12961321
"git_object_short_id": {
12971322
"args": {
12981323
"out": {
@@ -1404,6 +1429,11 @@
14041429
"cppClassName": "Wrapper",
14051430
"jsClassName": "Buffer"
14061431
}
1432+
},
1433+
"git_odb_object_id": {
1434+
"return": {
1435+
"ownedByThis": true
1436+
}
14071437
}
14081438
},
14091439
"dependencies": [
@@ -1480,6 +1510,11 @@
14801510
"git_packbuilder_foreach": {
14811511
"ignore": true
14821512
},
1513+
"git_packbuilder_hash": {
1514+
"return": {
1515+
"ownedByThis": true
1516+
}
1517+
},
14831518
"git_packbuilder_new": {
14841519
"isAsync": false
14851520
},
@@ -1723,6 +1758,20 @@
17231758
"needsForwardDeclaration": false,
17241759
"ignore": true
17251760
},
1761+
"reflog_entry": {
1762+
"functions": {
1763+
"git_reflog_entry_id_new": {
1764+
"return": {
1765+
"ownedByThis": true
1766+
}
1767+
},
1768+
"git_reflog_entry_id_old": {
1769+
"return": {
1770+
"ownedByThis": true
1771+
}
1772+
}
1773+
}
1774+
},
17261775
"refspec": {
17271776
"cType": "git_refspec",
17281777
"functions": {
@@ -2192,6 +2241,11 @@
21922241
"isErrorCode": true
21932242
}
21942243
},
2244+
"git_submodule_head_id": {
2245+
"return": {
2246+
"ownedByThis": true
2247+
}
2248+
},
21952249
"git_submodule_init": {
21962250
"isAsync": true,
21972251
"return": {
@@ -2212,6 +2266,16 @@
22122266
"type": "int"
22132267
}
22142268
},
2269+
"git_submodule_index_id": {
2270+
"return": {
2271+
"ownedByThis": true
2272+
}
2273+
},
2274+
"git_submodule_wd_id": {
2275+
"return": {
2276+
"ownedByThis": true
2277+
}
2278+
},
22152279
"git_submodule_location": {
22162280
"isAsync": true,
22172281
"args": {

0 commit comments

Comments
 (0)