[ET Trac] [Einstein Toolkit] #1931: provide CCTK_FullName like function whose returned string does not have to be free'd
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Mon Jun 27 08:16:57 CDT 2016
#1931: provide CCTK_FullName like function whose returned string does not have to
be free'd
-------------------------+--------------------------------------------------
Reporter: rhaas | Owner:
Type: enhancement | Status: new
Priority: optional | Milestone:
Component: Cactus | Version: development version
Keywords: |
-------------------------+--------------------------------------------------
{{{CCTK_FullName}}} differs from {{{CCTK_VarName}}} in that its returned
string must be freed by the caller which is often tedious. Since there is
no real reason for this, the pull request at
https://bitbucket.org/cactuscode/cactus/pull-requests/27/provide-
cctk_fullname-like-function-whose/diff provides a more convenient function
{{{CCTK_FullVarName}}} which returns a pointer to a flesh managed storage
area with the full variable name (exactly paralleling {{{CCTK_VarName}}}).
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1931>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list