opentracing-c
OpenTracing C API
opentracing-c
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;
23
}
opentracing_destructible
;
24
25
#ifdef __cplusplus
26
}
27
#endif
/* __cplusplus */
28
29
#endif
/* OPENTRACINGC_DESTRUCTIBLE_H */
config.h
opentracing_destructible
struct opentracing_destructible opentracing_destructible
Destructible interface.
opentracing_destructible
Destructible interface.
Definition:
destructible.h:16
opentracing_destructible::destroy
void(* destroy)(struct opentracing_destructible *destructible) OPENTRACINGC_NONNULL_ALL
Destructor to clean up any resources allocated to the instance.
Definition:
destructible.h:21
Generated by
1.8.14