Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
smx_context.h must be installed so that I can write binding packages
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 2 Dec 2010 18:04:33 +0000 (18:04 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 2 Dec 2010 18:04:33 +0000 (18:04 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8919 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/Cmake/DefinePackages.cmake
include/bindings/smx_context.h [moved from src/simix/smx_context_private.h with 94% similarity]
src/bindings/ruby_bindings.h
src/simix/smx_context.c
src/simix/smx_context_base.c
src/simix/smx_context_ruby.c
src/simix/smx_context_sysv_private.h

index 009dbc9..7e3677a 100644 (file)
@@ -82,7 +82,6 @@ set(EXTRA_DIST
        src/amok/Bandwidth/bandwidth_private.h
        src/amok/amok_modinter.h
        src/simix/private.h
-       src/simix/smx_context_private.h
        src/smpi/private.h
        src/smpi/smpi_coll_private.h
        src/smpi/smpi_mpi_dt_private.h
@@ -389,6 +388,7 @@ set(install_HEADERS
        ${CMAKE_CURRENT_BINARY_DIR}/include/simgrid_config.h
        include/gras.h 
        include/xbt.h
+       include/bindings/smx_context.h
 )
 
 ### depend of some variables setted upper
similarity index 94%
rename from src/simix/smx_context_private.h
rename to include/bindings/smx_context.h
index bf2d95f..4c9cacf 100644 (file)
@@ -6,8 +6,8 @@
 /* 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. */
 
-#ifndef _XBT_CONTEXT_PRIVATE_H
-#define _XBT_CONTEXT_PRIVATE_H
+#ifndef _XBT_CONTEXT_H
+#define _XBT_CONTEXT_H
 
 #include "xbt/swag.h"
 #include "simix/private.h"
@@ -53,4 +53,4 @@ void *smx_ctx_base_get_data(smx_context_t context);
 
 SG_END_DECL()
 
-#endif                          /* !_XBT_CONTEXT_PRIVATE_H */
+#endif                          /* !_XBT_CONTEXT_H */
index cfe8f5e..b5be7a7 100644 (file)
@@ -27,7 +27,7 @@
 #include "xbt/log.h"
 #include "xbt/asserts.h"
 
-#include "simix/smx_context_private.h"
+#include "bindings/smx_context.h"
 
 /* Damn Ruby. They load their full config.h, which breaks since we also load ours.
  * So, we undef the offending defines
index e15fbfc..f00c5b0 100644 (file)
@@ -10,7 +10,7 @@
 #include "xbt/log.h"
 #include "xbt/swag.h"
 #include "private.h"
-#include "simix/smx_context_private.h"
+#include "bindings/smx_context.h"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_context, simix,
                                 "Context switching mecanism");
index 883e83b..6e05383 100644 (file)
@@ -8,7 +8,7 @@
 
 
 #include "xbt/function_types.h"
-#include "smx_context_private.h"
+#include "bindings/smx_context.h"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(bindings);
 
index ad7f1e0..4801a6b 100644 (file)
@@ -11,7 +11,7 @@
 #include "xbt/log.h"
 #include "xbt/asserts.h"
 
-#include "smx_context_private.h"
+#include "bindings/smx_context.h"
 #include "bindings/ruby_bindings.h"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(ruby);
index 56f3fb5..2d2aea0 100644 (file)
@@ -10,7 +10,7 @@
 #define _XBT_CONTEXT_SYSV_PRIVATE_H
 
 #include "xbt/swag.h"
-#include "simix/smx_context_private.h"
+#include "bindings/smx_context.h"
 #include "portable.h"
 
 SG_BEGIN_DECL()