-/* Copyright (c) 2007-2013. The SimGrid Team.
+/* Copyright (c) 2007-2014. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
/* Update global variables */
xbt_lib_set(host_lib,name,SIMIX_HOST_LEVEL,smx_host);
-
- return xbt_lib_get_or_null(host_lib, name, SIMIX_HOST_LEVEL);
+
+ return xbt_lib_get_elm_or_null(host_lib, name);
}
void SIMIX_pre_host_on(smx_simcall_t simcall, smx_host_t h)