File tree 1 file changed +4
-4
lines changed
pandas/_libs/include/pandas/vendored/klib
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,23 +16,23 @@ typedef struct {
16
16
} khcomplex128_t ;
17
17
18
18
static const int KHASH_TRACE_DOMAIN = 424242 ;
19
- static inline void * traced_malloc (size_t size ) {
19
+ static void * traced_malloc (size_t size ) {
20
20
void * ptr = malloc (size );
21
21
if (ptr != NULL ) {
22
22
PyTraceMalloc_Track (KHASH_TRACE_DOMAIN , (uintptr_t )ptr , size );
23
23
}
24
24
return ptr ;
25
25
}
26
26
27
- static inline void * traced_calloc (size_t num , size_t size ) {
27
+ static void * traced_calloc (size_t num , size_t size ) {
28
28
void * ptr = calloc (num , size );
29
29
if (ptr != NULL ) {
30
30
PyTraceMalloc_Track (KHASH_TRACE_DOMAIN , (uintptr_t )ptr , num * size );
31
31
}
32
32
return ptr ;
33
33
}
34
34
35
- static inline void * traced_realloc (void * old_ptr , size_t size ) {
35
+ static void * traced_realloc (void * old_ptr , size_t size ) {
36
36
void * ptr = realloc (old_ptr , size );
37
37
if (ptr != NULL ) {
38
38
if (old_ptr != ptr ) {
@@ -43,7 +43,7 @@ static inline void *traced_realloc(void *old_ptr, size_t size) {
43
43
return ptr ;
44
44
}
45
45
46
- static inline void traced_free (void * ptr ) {
46
+ static void traced_free (void * ptr ) {
47
47
if (ptr != NULL ) {
48
48
PyTraceMalloc_Untrack (KHASH_TRACE_DOMAIN , (uintptr_t )ptr );
49
49
}
You can’t perform that action at this time.
0 commit comments