opentracing-c
OpenTracing C API
destructible.h
Go to the documentation of this file.
1 #ifndef OPENTRACINGC_DESTRUCTIBLE_H
2 #define OPENTRACINGC_DESTRUCTIBLE_H
3 
4 #include <opentracing-c/config.h>
5 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif /* __cplusplus */
11 
16 typedef struct opentracing_destructible {
21  void (*destroy)(struct opentracing_destructible* destructible)
22  OPENTRACINGC_NONNULL_ALL;
24 
25 #ifdef __cplusplus
26 }
27 #endif /* __cplusplus */
28 
29 #endif /* OPENTRACINGC_DESTRUCTIBLE_H */
struct opentracing_destructible opentracing_destructible
Destructible interface.
Destructible interface.
Definition: destructible.h:16
void(* destroy)(struct opentracing_destructible *destructible) OPENTRACINGC_NONNULL_ALL
Destructor to clean up any resources allocated to the instance.
Definition: destructible.h:21