aboutsummaryrefslogtreecommitdiff
path: root/src/Boundary.h
diff options
context:
space:
mode:
authorrideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4>2003-05-02 21:48:07 +0000
committerrideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4>2003-05-02 21:48:07 +0000
commit8d0099ca3450f7eaecae00230f6c5893e0a68d93 (patch)
tree08acc40eb1d454f620d90ecef2eb2be26dc74767 /src/Boundary.h
parent54d02f0338688cdce6e8819c32334d0ec7269cec (diff)
Physical bc function pointers now take all const arguments.
Fixed bug when requesting number of selected vars for all bcs. Allow for 100+ vars in debugging code... git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@219 6a38eb6e-646e-4a02-a296-d141613ad6c4
Diffstat (limited to 'src/Boundary.h')
-rw-r--r--src/Boundary.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Boundary.h b/src/Boundary.h
index 271ec58..99de680 100644
--- a/src/Boundary.h
+++ b/src/Boundary.h
@@ -19,8 +19,9 @@ extern "C"
/* data type for pointer to function which implements a physical boundary
condition: */
-typedef CCTK_INT (*phys_bc_fn_ptr)(CCTK_POINTER, CCTK_INT, CCTK_INT *,
- CCTK_INT *, CCTK_INT *);
+typedef CCTK_INT (*phys_bc_fn_ptr)(const CCTK_POINTER, const CCTK_INT,
+ const CCTK_INT *, const CCTK_INT *,
+ const CCTK_INT *);
/* prototype for routine registed as providing 'None' boundary condition */