2023-10-31 09:16:44 CST W44D2

This commit is contained in:
aggresss
2023-10-31 09:16:44 +08:00
parent f00ecdba54
commit 05345f7cdc
100 changed files with 3340 additions and 3229 deletions

View File

@@ -28,11 +28,6 @@ func AvMallocArray[U, V Integer](nmemb U, size V) unsafe.Pointer {
return C.av_malloc_array((C.size_t)(nmemb), (C.size_t)(size))
}
// AvMalloczArray allocates a memory block for an array with AvMallocz().
func AvMalloczArray[U, V Integer](nmemb U, size V) unsafe.Pointer {
return C.av_mallocz_array((C.size_t)(nmemb), (C.size_t)(size))
}
// AvCalloc is non-inlined equivalent of AvMalloczArray().
func AvCalloc[U, V Integer](nmemb U, size V) unsafe.Pointer {
return C.av_calloc((C.size_t)(nmemb), (C.size_t)(size))