| 1 |
// Copyright (c) Microsoft. All rights reserved. |
| 2 |
// Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| 3 |
|
| 4 |
#ifndef SOME_REFCOUNT_IMPL_H |
| 5 |
#define SOME_REFCOUNT_IMPL_H |
| 6 |
|
| 7 |
#ifdef __cplusplus |
| 8 |
#include <cstddef> |
| 9 |
extern "C" |
| 10 |
{ |
| 11 |
#else |
| 12 |
#include <stddef.h> |
| 13 |
#endif |
| 14 |
|
| 15 |
typedef struct pos_TAG* POS_HANDLE; |
| 16 |
|
| 17 |
POS_HANDLE Pos_Create(int x); |
| 18 |
POS_HANDLE Pos_Create_With_Extra_Size(int x, size_t extraSize); |
| 19 |
POS_HANDLE Pos_Clone(POS_HANDLE posHandle); |
| 20 |
void Pos_Destroy(POS_HANDLE posHandle); |
| 21 |
|
| 22 |
#ifdef __cplusplus |
| 23 |
} |
| 24 |
#endif |
| 25 |
|
| 26 |
#endif /*SOME_REFCOUNT_IMPL_H*/ |