Chan-Vese Segmentation
Functions
basic.c File Reference

Memory management, portable types, and math constants. More...

#include <stdlib.h>
#include <stdarg.h>
#include "basic.h"

Go to the source code of this file.

Functions

void * MallocWithErrorMessage (size_t Size)
 malloc with an error message on failure.
 
void * ReallocWithErrorMessage (void *Ptr, size_t Size)
 realloc with an error message and free on failure.
 
void ErrorMessage (const char *Format,...)
 Redefine this function to customize error messages.
 

Detailed Description

Memory management, portable types, and math constants.

Author
Pascal Getreuer getre.nosp@m.uer@.nosp@m.gmail.nosp@m..com

Copyright (c) 2010-2011, Pascal Getreuer All rights reserved.

This program is free software: you can use, modify and/or redistribute it under the terms of the simplified BSD License. You should have received a copy of this license along this program. If not, see http://www.opensource.org/licenses/bsd-license.html.

Definition in file basic.c.