@@ -218,7 +218,6 @@ bool _o2_lock_free_stack_push(_o2_lock_free_stack& stack, const int& value, bool
218218bool _o2_lock_free_stack_pop (_o2_lock_free_stack& stack, int & value, bool spin = false );
219219// _o2_signpost_id_t _o2_signpost_id_generate_local(_o2_log_t* log);
220220// _o2_signpost_id_t _o2_signpost_id_make_with_pointer(_o2_log_t* log, void* pointer);
221- _o2_signpost_index_t o2_signpost_id_make_with_pointer (_o2_log_t * log, void * pointer);
222221void * _o2_log_create (char const * name, int stacktrace);
223222void _o2_signpost_event_emit (_o2_log_t * log, _o2_signpost_id_t id, char const * name, char const * const format, ...);
224223void _o2_signpost_interval_begin (_o2_log_t * log, _o2_signpost_id_t id, char const * name, char const * const format, ...);
@@ -246,14 +245,6 @@ inline _o2_signpost_id_t _o2_signpost_id_make_with_pointer(_o2_log_t* log, void*
246245 return uniqueId;
247246}
248247
249- inline _o2_signpost_index_t o2_signpost_id_make_with_pointer (_o2_log_t * log, void * pointer)
250- {
251- _o2_signpost_index_t signpost_index;
252- _o2_lock_free_stack_pop (log->slots , signpost_index, true );
253- log->ids [signpost_index].id = (int64_t )pointer;
254- return signpost_index;
255- }
256-
257248// Implementation start here. Include this file with O2_SIGNPOST_IMPLEMENTATION defined in one file of your
258249// project.
259250#ifdef O2_SIGNPOST_IMPLEMENTATION
0 commit comments