From fa2e04ec0dbef059105da86b2b750059fb66d39b Mon Sep 17 00:00:00 2001 From: mquinson Date: Thu, 20 Oct 2005 10:13:00 +0000 Subject: [PATCH] I keep forgetting the correct name of this macro git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1764 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- doc/module-gras.doc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/module-gras.doc b/doc/module-gras.doc index a43fec7b1a..1e0819294a 100644 --- a/doc/module-gras.doc +++ b/doc/module-gras.doc @@ -407,7 +407,7 @@ The messages involved in this example do use structures as payload, so we have to declare it to GRAS. Hopefully, this can be done easily by enclosing - the structure declaration within a GRAS_DEFINE macro call. It will then copy this + the structure declaration within a \ref GRAS_DEFINE_TYPE macro call. It will then copy this declaration into an hidden string variable, which can be automatically parsed at run time. Of course, the declaration is also copied unmodified by this macro, so that it gets parsed by the compiler also. @@ -424,14 +424,14 @@ imply. If you want to use it yourself, you'd better use the exact right syntax, which is detailed in the \ref GRAS_dd section. - \skip GRAS_DEFINE + \skip GRAS_DEFINE_TYPE \until matrix_t \subsection GRAS_ex_mmrpc_msgregister 1.c) Register the messages This function, called by both the client and the server is in charge of declaring the existing messages to GRAS. Note the use of the \ref gras_datadesc_by_symbol - function to parse and retrieve the structure declaration which were passed to \ref GRAS_DEFINE + function to parse and retrieve the structure declaration which were passed to \ref GRAS_DEFINE_TYPE above. The datatype description builded that way can then be used to build an array datatype or -- 2.20.1