summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9372ee1)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1327
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
#include "xbt/dynar.h"
#include <sys/types.h>
#include "xbt/dynar.h"
#include <sys/types.h>
+#include "xbt/dynar_private.h" /* type definition, which we share with the
+ code in charge of sending this across the net */
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(dynar,xbt,"Dynamic arrays");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(dynar,xbt,"Dynamic arrays");
-typedef struct xbt_dynar_s {
- unsigned long size;
- unsigned long used;
- unsigned long elmsize;
- void *data;
- void_f_pvoid_t *free_f;
-} s_xbt_dynar_t;
#define __sanity_check_dynar(dynar) \
xbt_assert0(dynar, \
#define __sanity_check_dynar(dynar) \
xbt_assert0(dynar, \
--- /dev/null
+/* $Id$ */
+
+/* a generic DYNamic ARray implementation. */
+
+/* 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. */
+
+#ifndef DYNAR_PRIVATE_H
+#define DYNAR_PRIVATE_H
+
+typedef struct xbt_dynar_s {
+ unsigned long size;
+ unsigned long used;
+ unsigned long elmsize;
+ void *data;
+ void_f_pvoid_t *free_f;
+} s_xbt_dynar_t;
+
+#endif /* DYNAR_PRIVATE_H */