~marcustomlinson/unity-scopes-api/fix-clang-warnings

« back to all changes in this revision

Viewing changes to include/unity/scopes/ScopeBase.h

  • Committer: Pawel Stolowski
  • Date: 2015-09-07 14:10:41 UTC
  • mfrom: (163.68.55 single-tree)
  • Revision ID: pawel.stolowski@canonical.com-20150907141041-2q7ozw68rwn3vyb7
MergedĀ lp:~michihenning/unity-scopes-api/single-tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
// UNITY_SCOPE_CREATE_SYMSTR and UNITY_SCOPE_DESTROY_SYMSTR expand to a string literal containing the name
39
39
// of the create and destroy function, respectively.
40
40
 
41
 
#ifndef DOXYGEN_SKIP
42
 
#    define UNITY_SCOPE_STR(sym) #sym
43
 
#    define UNITY_SCOPE_XSTR(sym) UNITY_SCOPE_STR(sym)
44
 
#endif
45
 
 
46
41
/**
47
42
\brief Expands to the identifier of the scope create function as a string literal. @hideinitializer
48
43
*/
49
 
#define UNITY_SCOPE_CREATE_SYMSTR UNITY_SCOPE_XSTR(UNITY_SCOPE_CREATE_FUNCTION)
 
44
#define UNITY_SCOPE_CREATE_SYMSTR UNITY_SCOPES_VERSION_XSTR(UNITY_SCOPE_CREATE_FUNCTION)
50
45
 
51
46
/**
52
47
\brief Expands to the identifier of the scope destroy function as a string literal. @hideinitializer
53
48
*/
54
 
#define UNITY_SCOPE_DESTROY_SYMSTR UNITY_SCOPE_XSTR(UNITY_SCOPE_DESTROY_FUNCTION)
 
49
#define UNITY_SCOPE_DESTROY_SYMSTR UNITY_SCOPES_VERSION_XSTR(UNITY_SCOPE_DESTROY_FUNCTION)
55
50
 
56
51
namespace unity
57
52
{