A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update the platform files: the root tag is now called 'platform', not 'platform_descr...
[simgrid.git]
/
examples
/
gras
/
rpc
/
rpc.c
diff --git
a/examples/gras/rpc/rpc.c
b/examples/gras/rpc/rpc.c
index
240c27d
..
f40a4cf
100644
(file)
--- a/
examples/gras/rpc/rpc.c
+++ b/
examples/gras/rpc/rpc.c
@@
-27,9
+27,9
@@
int server (int argc,char *argv[]);
int forwarder (int argc,char *argv[]);
int client (int argc,char *argv[]);
int forwarder (int argc,char *argv[]);
int client (int argc,char *argv[]);
-static void exception_raising(void) {
- THROW0(unknown_error,42,"Some error we will catch on client side")
;
-}
+#define exception_raising() \
+ THROW0(unknown_error,42,"Some error we will catch on client side")
+
static void exception_catching(void) {
int gotit = 0,i;
xbt_ex_t e;
static void exception_catching(void) {
int gotit = 0,i;
xbt_ex_t e;