Skip to content

Commit

Permalink
feat(c): add api spec for flint_object (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrylee97 authored Nov 10, 2023
1 parent af90ba4 commit b534cd2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions C/flint-1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,24 @@
"file": "src/fmpz_mpoly_factor/sort.c",
"line": 71
}
},

"api": {
"flint_object": {
"allocators": [
{
"func": "flint_malloc",
"effect": "$return",
"deference_depth": 0
}
],
"deallocators": [
{
"func": "flint_free",
"effect": "$param0",
"deference_depth": 0
}
]
}
}
}

0 comments on commit b534cd2

Please sign in to comment.