diff options
author | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2005-10-19 20:31:31 +0000 |
---|---|---|
committer | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2005-10-19 20:31:31 +0000 |
commit | c27ae25f9468bfb2f72fbd1cc8762a89f7b100bf (patch) | |
tree | 51eaab65a37e3b02b70427a3d8a7870f858b996d /interface.ccl | |
parent | 69977e26477ee590c009325286c9f7d69d526bd6 (diff) |
Provide an aliased function that returns a unique build ID.
Store the current directory as well.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@67 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'interface.ccl')
-rw-r--r-- | interface.ccl | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/interface.ccl b/interface.ccl index 295f02e..c963e8f 100644 --- a/interface.ccl +++ b/interface.ccl @@ -9,9 +9,20 @@ USES INCLUDE HEADER: http_Content.h # Return a pointer to an unmodifiable C string +# which contains a unique ID for this build +CCTK_POINTER_TO_CONST \ +FUNCTION UniqueBuildID (CCTK_POINTER_TO_CONST IN cctkGH) + +PROVIDES FUNCTION UniqueBuildID \ + WITH Formaline_UniqueBuildID \ + LANGUAGE C + + + +# Return a pointer to an unmodifiable C string # which contains a unique ID for this simulation CCTK_POINTER_TO_CONST \ -FUNCTION UniqueSimulationID (CCTK_POINTER_TO_CONST IN cctkGH) +FUNCTION UniqueSimulationID (CCTK_POINTER_TO_CONST IN cctkGH) PROVIDES FUNCTION UniqueSimulationID \ WITH Formaline_UniqueSimulationID \ |