From: Martin Quinson Date: Tue, 20 Mar 2012 13:45:49 +0000 (+0100) Subject: some more documentation fixups X-Git-Tag: v3_7~294 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/fd0a64e86162f81a978a22d84d16c5d8f2e8d1f5 some more documentation fixups --- diff --git a/doc/gtut-tour-02-simple.doc b/doc/gtut-tour-02-simple.doc index 778b669aa9..bb5980d056 100644 --- a/doc/gtut-tour-02-simple.doc +++ b/doc/gtut-tour-02-simple.doc @@ -103,12 +103,12 @@ following will do it: \section GRAS_tut_tour_simpleexchange_recaping Recaping everything together Here is the complete code of this example. Note the use of the functions -\ref gras_socket_my_port, \ref gras_socket_peer_name and \ref -gras_socket_peer_port to retrieve information about who you are connected to. +\ref xbt_socket_my_port, \ref xbt_socket_peer_name and \ref +xbt_socket_peer_port to retrieve information about who you are connected to. \include 02-simple.c -Here is the output of the simulator. Note that \ref gras_socket_peer_port +Here is the output of the simulator. Note that \ref xbt_socket_peer_port actually returns the port number of the server of the peer. This may sound a bit strange to BSD experts, but it is actually really useful: you can store this value, and contact your peer afterward passing this number to diff --git a/doc/module-gras.doc b/doc/module-gras.doc index c91622e8a0..86a249d7cd 100644 --- a/doc/module-gras.doc +++ b/doc/module-gras.doc @@ -439,8 +439,8 @@ \subsection GRAS_ex_mmrpc_serinc 2.a) Server intial settings All module symbols live in the mmrpc_common.c file. We thus have to - define \ref GRAS_DEFINE_TYPE_EXTERN to the preprocessor so that the - \ref GRAS_DEFINE_TYPE symbols don't get included here. Likewise, we use + define \ref XBT_DEFINE_TYPE_EXTERN to the preprocessor so that the + \ref XBT_DEFINE_TYPE symbols don't get included here. Likewise, we use \ref XBT_LOG_EXTERNAL_DEFAULT_CATEGORY to get the log category in here. \dontinclude gras/mmrpc/mmrpc_server.c diff --git a/include/xbt/ex.h b/include/xbt/ex.h index 6e1087376c..ef5b9168a2 100644 --- a/include/xbt/ex.h +++ b/include/xbt/ex.h @@ -405,6 +405,7 @@ extern void __xbt_ex_terminate_default(xbt_ex_t * e); /** @brief Helper macro for THROW and THROWF * @hideinitializer * + * @param _throw_ctx: the throwing context in which we should construct the exception * @param c: category code (integer) * @param v: value (integer) * @param m: message text