| 1 |
|
| 2 |
#ifndef AWS_FUTURE_TEST_H |
| 3 |
#define AWS_FUTURE_TEST_H |
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
#include <aws/io/future.h> |
| 10 |
|
| 11 |
struct aws_destroyme *aws_destroyme_new(struct aws_allocator *alloc, bool *set_true_on_death); |
| 12 |
void aws_destroyme_destroy(struct aws_destroyme *destroyme); |
| 13 |
|
| 14 |
|
| 15 |
AWS_FUTURE_T_POINTER_WITH_DESTROY_DECLARATION(aws_future_destroyme, struct aws_destroyme, ); |
| 16 |
|
| 17 |
struct aws_refcountme *aws_refcountme_new(struct aws_allocator *alloc, bool *set_true_on_death); |
| 18 |
struct aws_refcountme *aws_refcountme_acquire(struct aws_refcountme *refcountme); |
| 19 |
struct aws_refcountme *aws_refcountme_release(struct aws_refcountme *refcountme); |
| 20 |
AWS_FUTURE_T_POINTER_WITH_RELEASE_DECLARATION(aws_future_refcountme, struct aws_refcountme, ); |
| 21 |
|
| 22 |
#endif |