Skip to content
This repository was archived by the owner on Nov 22, 2023. It is now read-only.

Commit 55ef854

Browse files
author
gek
committed
make push
1 parent e64af31 commit 55ef854

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

metaprogramming.c

-5
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,3 @@ uint64_t get_builtin_arg3_type(char* s){
510510
return 0;
511511
}
512512

513-
514-
515-
516-
517-

targspecifics.h

+1-12
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,10 @@ unsigned handle_cli_args(int argc, char** argv);
2929

3030
static inline void* m_allocX(uint64_t sz){
3131
void* p = malloc(sz);
32-
/*
33-
if(p == NULL){
34-
puts("malloc failed");
35-
exit(1);
36-
}
37-
*/
3832
return p;
3933
}
4034
static inline void* c_allocX(uint64_t sz){
41-
void* p = calloc(sz, 1);
42-
/*
43-
if(p == NULL){
44-
puts("calloc failed");
45-
exit(1);
46-
}*/
35+
void* p = calloc(1, sz);
4736
return p;
4837
}
4938

0 commit comments

Comments
 (0)