From 64aa38474566071634e176f36319d0733ae98f24 Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Mon, 9 Feb 2009 00:52:57 +0000 Subject: [PATCH] - Fix comment to reflect current code. This commit was SVN r20479. --- opal/class/opal_object.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/opal/class/opal_object.h b/opal/class/opal_object.h index 948ff4cefa..1385b8dc27 100644 --- a/opal/class/opal_object.h +++ b/opal/class/opal_object.h @@ -35,13 +35,13 @@ * In a interface (.h) file, define the class. The first element * should always be the parent class, for example * @code - * typedef struct sally_t sally_t; * struct sally_t * { * parent_t parent; * void *first_member; * ... * }; + * typedef struct sally_t sally_t; * * OBJ_CLASS_DECLARATION(sally_t); * @endcode @@ -59,7 +59,8 @@ * OBJ_CLASS(parent_t), // pointer to parent_t_class * sally_construct, * sally_destruct, - * 0, 0, NULL, NULL + * 0, 0, NULL, NULL, + * sizeof ("sally_t") * }; * @endcode * This variable should be declared in the interface (.h) file using