diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-01-13 13:06:09 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-01-13 13:06:09 +0000 |
commit | c1dcbc9bfdcdd53b56de83215cd8630e5fe361d9 (patch) | |
tree | f785493540812a2de3c64b9840306965365f0ee0 /src/include | |
parent | f5605d9fb9a5506eab8b1c2fc455da1c7da3e322 (diff) |
New specification for CCTK_GroupData after Tom pointed out to me that
returning a pointer for a structure means that thorn programmers have to
remember to free the pointer. Now the specification is
int ierr CCTK_GroupData(int group_index, cGroup *pgroup)
So that it can be called via
cGroup pg;
CCTK_GroupData(group_index, &pg);
and noone needs to remember to free anything.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1250 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions