X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/001af98d95108465ad06cb0f6668402d29246b86..34c6518ab6cdb0b402cca01ac045561cba9bd009:/src/xbt/mallocator_private.h diff --git a/src/xbt/mallocator_private.h b/src/xbt/mallocator_private.h index 35b96d46d1..42a6d94bcf 100644 --- a/src/xbt/mallocator_private.h +++ b/src/xbt/mallocator_private.h @@ -1,5 +1,12 @@ -#ifndef _XBT_DICT_PRIVATE_H__ -#define _XBT_DICT_PRIVATE_H__ +/* mallocator - recycle objects to avoid malloc() / free() */ + +/* Copyright (c) 2006 Christophe Thiery. All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + +#ifndef _XBT_MALLOCATOR_PRIVATE_H__ +#define _XBT_MALLOCATOR_PRIVATE_H__ typedef struct s_xbt_mallocator { int current_size; /* number of objects currently stored */ @@ -10,4 +17,4 @@ typedef struct s_xbt_mallocator { void_f_pvoid_t reset_f; /* function to call when an object is released by the user */ } s_xbt_mallocator_t; -#endif +#endif /* _XBT_MALLOCATOR_PRIVATE_H__ */