Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
updating the doc
[simgrid.git] / include / xbt / dict.h
index 8b866bb..c337b2d 100644 (file)
@@ -1,22 +1,25 @@
 /* $Id$ */
 
-/* xbt/dict.h -- api to a generic dictionary                               */
+/* xbt/dict.h -- api to a generic dictionary                                */
 
-/* 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_DICT_H
 #define _XBT_DICT_H
 
-#ifdef  __cplusplus
-extern "C" 
-#endif
+#include "xbt/misc.h" /* BEGIN_DECL */
+#include "xbt/error.h"
+
+BEGIN_DECL()
 
 /*####[ Type definition ]####################################################*/
+/** \brief Dictionnary data type 
+    \ingroup XBT_dict
+*/
 typedef struct xbt_dict_ *xbt_dict_t;
 
 /*####[ Simple dict  functions ]#############################################*/
@@ -141,8 +144,6 @@ int          xbt_dict_cursor_get_or_free (xbt_dict_cursor_t *cursor,
        xbt_dict_cursor_get_or_free(&(cursor),&(key),(void**)(&data));\
        xbt_dict_cursor_step(cursor) )
 
-#ifdef  __cplusplus
-}
-#endif
+END_DECL()
 
 #endif /* _XBT_DICT_H */