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
we cannot use PYBIND11 without PYTHONLIBS
[simgrid.git]
/
src
/
xbt
/
log_private.h
diff --git
a/src/xbt/log_private.h
b/src/xbt/log_private.h
index
17341d3
..
41bdf56
100644
(file)
--- a/
src/xbt/log_private.h
+++ b/
src/xbt/log_private.h
@@
-1,6
+1,4
@@
-/* $Id: log.c 4794 2007-10-10 12:38:37Z mquinson $ */
-
-/* Copyright (c) 2003-2007 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2007-2018. The SimGrid Team. 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. */
/* 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. */
@@
-10,30
+8,24
@@
#include "xbt/log.h"
struct xbt_log_appender_s {
#include "xbt/log.h"
struct xbt_log_appender_s {
- void (*do_append) (xbt_log_appender_t this_appender,
- char *event);
+ void (*do_append) (xbt_log_appender_t this_appender, char *event);
void (*free_) (xbt_log_appender_t this_);
void *data;
};
struct xbt_log_layout_s {
void (*free_) (xbt_log_appender_t this_);
void *data;
};
struct xbt_log_layout_s {
- void (*do_layout)(xbt_log_layout_t l,
- xbt_log_event_t event, const char *fmt,
- xbt_log_appender_t appender);
+ int (*do_layout) (xbt_log_layout_t l, xbt_log_event_t event, const char *fmt);
void (*free_) (xbt_log_layout_t l);
void *data;
void (*free_) (xbt_log_layout_t l);
void *data;
-} ;
-
+};
/**
/**
- *
\
ingroup XBT_log_implem
- *
\
param cat the category (not only its name, but the variable)
- *
\
param parent the parent cat
+ *
@
ingroup XBT_log_implem
+ *
@
param cat the category (not only its name, but the variable)
+ *
@
param parent the parent cat
*
* Programatically alter a category's parent (don't use).
*/
*
* Programatically alter a category's parent (don't use).
*/
-XBT_PUBLIC(void) xbt_log_parent_set(xbt_log_category_t cat,
- xbt_log_category_t parent);
-
+XBT_PUBLIC void xbt_log_parent_set(xbt_log_category_t cat, xbt_log_category_t parent);
-#endif
/* LOG_PRIVATE_H */
+#endif