| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
| |
"{USES|REQUIRES|PROVIDES} FUNCTION" keys in the interface database.
When matching the function list against a specific function name, use that
space as a delimiter.
This closes PR Cactus/1947: "Name clashes for aliased functions".
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4080 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
functions. This usually implies that an error was made, such as a
comma being accidentally missed.
Fixes PR 1886.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3933 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
thornlist file.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3793 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
the REQUIREing in the first place.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3761 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
about implicitly defined functions. Only occured when REQUIREing an aliased function.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3754 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
inconsistent aliased functions, change this to be a level 0 error
instead of just a warning.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3732 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
intent.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3710 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3701 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3696 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
argument types.
Currently this is just a warning and not an error because many of the standard thorns actually lead to errors. When these are fixed this should be changed to an error and force-rebuild committed.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3682 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Or, fixing function aliasing with multiple function pointer arguments.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3678 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3674 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
Added a CST check that a required function is provided by at least one thorn
from the thornlist.
Added a runtime check (to CCTKBindings_RegisterThornFunctions()) to verify
that all required functions are provided by some active thorn.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3673 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3670 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This closes PR Cactus/1628.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3588 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3587 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
as well as for those that use an aliased function. This is
implemented by assuming that providing implies using. According to a
comment in the code, that should have already been the case.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3484 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3478 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
argument is missing an intent statement.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3472 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
doesn't return anything ('void aliased_fn(...);').
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3470 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
types of aliased functions.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3469 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
just for those that actually use function aliasing. This prevents
recompiling when a thorn starts to use or stops using function
aliasing.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3461 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3450 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3446 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
#include "cctk_Functions.h" and then use the macro
DECLARE_CCTK_FUNCTIONS.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3439 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
CST stage will be identical. This is necessary at least since perl
5.8.1 to avoid redundant recompilation.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3425 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3390 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
(Changes from Ian).
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3359 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
be passed by value, without being dereferenced. We will be interested
in the value of the pointer itself, not in the value of what it points
to.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3231 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
now produces "CCTK_POINTER_TO_CONST", rather than "const
CCTK_POINTER". This fixes compiler warnings with hyperslabbing
functions.
White space is now allowed between the name of a function pointer
argument and its argument list.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3221 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3217 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
<CCTK_TYPE> FUNCTION <function name> (<CCTK_TYPE> [ARRAY] IN|OUT|INOUT
<argument name>)
by Ian Hawke, with some minor fixes/enhancements by myself.
void functions can now be declared as "SUBROUTINE".
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3208 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add some explanatory notes about what this creates in the bindings
directory of a configuration.
Clean up much commented-out code.
Allow empty argument lists for aliased functions.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3163 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Fix return type void functions. (Patch from Ian Hawke.)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3162 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
Radke and David Rideout. Now Fortran aliasing is handled properly
(for the most part). I tried to leave commented out versions of code
I changed. This should be cleaned up. Also now the documentation at
the beginning of CreateFunctionBindings.pl is no longer completely
correct, so this must be addressed.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3153 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
thorns which provide or use overloadable functions.
Configurations should be cleandep'ed and rebuilt after this update.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3102 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
IsFunctionAliased.c to prevent compiler warnings.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3088 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3080 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Pointer arguments are passed as illegal types.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3025 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2805 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2779 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2773 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2772 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
those which are actually being used.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2767 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2766 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
will put everything up to the closing bracket for a routine into a new block.
Also, the USE_CCTK macro is now appended directly to the CCTK_DECLARE macro.
There is no need anymore to use CCTK_NO_AUTOUSE_MACRO.
Also changed the way how parameters and arguments are used within the USE_CCTK
macros: now it's done by "(void) (parameter = 0);" which is better than
assigning the address of it to some dummy pointer.
This fixes problems where one had to parse for a possible return statement
at the end of the routine.
This fix closes PR Cactus/949.
Also did some perl code optimization and added grdoc headers for files
generated by the CST.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2676 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2408 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
causes for the errors.
At the moment the help message is always shown, since I've only added a couple so far.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2307 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
'const void *' dummy pointer for assignments.
This should also fix PR Cactus-715.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2227 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2063 17b73243-c579-4c4c-a9d2-2d5706c11dac
|