X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2539fff313cbd67c45b8490f7961e45e358d9ba2..e151870a757d9f9de719341e253195dec8dec145:/include/xbt/dynar.h diff --git a/include/xbt/dynar.h b/include/xbt/dynar.h index c95e61920c..64136a4c3d 100644 --- a/include/xbt/dynar.h +++ b/include/xbt/dynar.h @@ -1,12 +1,11 @@ /* $Id$ */ -/* dynar - a generic dynamic array */ +/* dynar - a generic dynamic array */ -/* Authors: Martin Quinson */ -/* Copyright (C) 2003 the OURAGAN project. */ +/* Copyright (c) 2003, 2004 Martin Quinson. 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. */ + * under the terms of the license (GNU LGPL) which comes with this package. */ #ifndef _XBT_DYNAR_H #define _XBT_DYNAR_H @@ -17,10 +16,6 @@ BEGIN_DECL typedef struct xbt_dynar_s *xbt_dynar_t; -/* pointer to a function freeing something */ -typedef void (void_f_ppvoid_t)(void**); -typedef void (void_f_pvoid_t) (void*); - xbt_dynar_t xbt_dynar_new(unsigned long elm_size, void_f_pvoid_t *free_func); void xbt_dynar_free(xbt_dynar_t *dynar); @@ -78,7 +73,7 @@ int xbt_dynar_cursor_get (const xbt_dynar_t dynar, int *cursor, void *whereto * Iterates over the whole dynar. Example: * * - * xbt_dynar_t *dyn; + * xbt_dynar_t dyn; * int cpt; * string *str; * xbt_dynar_foreach (dyn,cpt,str) {