Skip to content

Commit

Permalink
properly bookend #defines
Browse files Browse the repository at this point in the history
  • Loading branch information
relaxolotl committed Dec 10, 2021
1 parent def13ae commit 1751cdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sentry_scope.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,9 @@ sentry__scope_apply_to_event(const sentry_scope_t *scope,
sentry__foreach_stacktrace(event, sentry__symbolize_stacktrace);
}

#undef PLACE_CLONED_VALUE
#undef PLACE_VALUE
#undef PLACE_STRING
#undef IS_NULL
#undef SET
#undef IS_NULL
}
2 changes: 2 additions & 0 deletions src/sentry_tracing.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ sentry__span_get_trace_context(sentry_value_t span)
PLACE_VALUE("status", span);

return trace_context;

#undef PLACE_VALUE
}

0 comments on commit 1751cdb

Please sign in to comment.