diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-04-28 20:09:08 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-04-28 20:09:08 +0000 |
commit | 531385b02531f6930b0120f2bbdd404fe7345289 (patch) | |
tree | c1d81f87af69b2fd5b4e523613b09add3044d243 /lib/sbin/CreateFunctionBindings.pl | |
parent | 25005b8ae184ce00cd68e742801d335aeeca4696 (diff) |
Support for CCTK_POINTER in function aliasing
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2773 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/CreateFunctionBindings.pl')
-rw-r--r-- | lib/sbin/CreateFunctionBindings.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sbin/CreateFunctionBindings.pl b/lib/sbin/CreateFunctionBindings.pl index d7381467..91ee9106 100644 --- a/lib/sbin/CreateFunctionBindings.pl +++ b/lib/sbin/CreateFunctionBindings.pl @@ -970,6 +970,12 @@ sub ParseArguments $fwrapperargs .= "$1 *$name, "; $fwrappercallargs .= "$name, "; } + elsif ($type =~ m/^\s*CCTK_POINTER\s*$/) + { + $ccallargs .= "$type $name, "; + $fwrapperargs .= "$type *$name, "; + $fwrappercallargs .= "$name, "; + } else { $ccallargs .= "$type $name, "; |