Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Test using macros for arguments checking, saves some duplicated lines.
[simgrid.git] / include / simgrid / mailbox.h
index 6e91ff0..4bae8cb 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2018. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2018-2019. 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. */
@@ -12,8 +12,8 @@
 /* C interface */
 SG_BEGIN_DECL()
 
-void sg_mailbox_set_receiver(const char* alias);
-int sg_mailbox_listen(const char* alias);
+XBT_PUBLIC void sg_mailbox_set_receiver(const char* alias);
+XBT_PUBLIC int sg_mailbox_listen(const char* alias);
 
 SG_END_DECL()