#include <stdio.h>
#include <stdlib.h>
#include "CalculiX.h"
Go to the source code of this file.
|
void * | u_calloc (size_t num, size_t size, const char *file, const int line, const char *ptr_name) |
|
◆ u_calloc()
void* u_calloc |
( |
size_t |
num, |
|
|
size_t |
size, |
|
|
const char * |
file, |
|
|
const int |
line, |
|
|
const char * |
ptr_name |
|
) |
| |
43 printf(
"*ERROR in u_calloc: error allocating memory\n");
44 printf(
"variable=%s, file=%s, line=%d, num=%ld, size=%ld\n",ptr_name,file,line,num,size);
46 printf(
"\n It looks like you may need the i8 (integer*8) version of CalculiX\n");
53 env=getenv(
"CCX_LOG_ALLOC");
57 printf(
"ALLOCATION of variable %s, file %s, line=%d, num=%ld, size=%ld, address= %ld\n",ptr_name,file,line,num,size,(
long int)a);
int log_realloc
Definition: u_calloc.c:23
◆ log_realloc