Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[xbt] Remove useless bits
[simgrid.git] / include / xbt / dynar.h
index 8aa9d0d..b8cfbdd 100644 (file)
@@ -26,7 +26,7 @@ SG_BEGIN_DECL()
   * structure creation (of type void_f_ppvoid_t or void_f_pvoid_t).
   *
   * \section XBT_dynar_exscal Example with scalar
-  * \dontinclude dynar.c
+  * \dontinclude dynar.cpp
   *
   * \skip Vars_decl
   * \skip dyn
@@ -258,15 +258,4 @@ xbt_dynar_foreach (dyn,cpt,str) {
 /** @} */
 SG_END_DECL()
 
-#ifdef __cplusplus
-namespace simgrid {
-namespace xbt {
-  inline void destroy(xbt_dynar_t s)
-  {
-    xbt_dynar_free(&s);
-  }
-}
-}
-#endif
-
 #endif                          /* _XBT_DYNAR_H */