Mercurial > games > semicongine
comparison fuhtark_test/include/winapi/winber.h @ 1500:91c8c3b7cbf0
add: futhark tests for generating vulkan api
| author | sam <sam@basx.dev> |
|---|---|
| date | Wed, 26 Nov 2025 21:36:48 +0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1499:1f58458b7ef7 | 1500:91c8c3b7cbf0 |
|---|---|
| 1 /** | |
| 2 * This file has no copyright assigned and is placed in the Public Domain. | |
| 3 * This file is part of the w64 mingw-runtime package. | |
| 4 * No warranty is given; refer to the file DISCLAIMER within this package. | |
| 5 */ | |
| 6 #ifndef _WINBER_DEFINED_ | |
| 7 #define _WINBER_DEFINED_ | |
| 8 | |
| 9 #include "winldap.h" | |
| 10 | |
| 11 #ifdef __cplusplus | |
| 12 extern "C" { | |
| 13 #endif | |
| 14 | |
| 15 #ifndef WINBERAPI | |
| 16 #define WINBERAPI DECLSPEC_IMPORT | |
| 17 #endif | |
| 18 | |
| 19 #ifndef BERAPI | |
| 20 #define BERAPI __cdecl | |
| 21 #endif | |
| 22 | |
| 23 #define LBER_ERROR 0xffffffffL | |
| 24 #define LBER_DEFAULT 0xffffffffL | |
| 25 | |
| 26 typedef unsigned int ber_tag_t; | |
| 27 typedef int ber_int_t; | |
| 28 typedef unsigned int ber_uint_t; | |
| 29 typedef int ber_slen_t; | |
| 30 | |
| 31 WINBERAPI BerElement *BERAPI ber_init(BERVAL *pBerVal); | |
| 32 WINBERAPI VOID BERAPI ber_free(BerElement *pBerElement,INT fbuf); | |
| 33 WINBERAPI VOID BERAPI ber_bvfree(BERVAL *pBerVal); | |
| 34 WINBERAPI VOID BERAPI ber_bvecfree(PBERVAL *pBerVal); | |
| 35 WINBERAPI BERVAL *BERAPI ber_bvdup(BERVAL *pBerVal); | |
| 36 WINBERAPI BerElement *BERAPI ber_alloc_t(INT options); | |
| 37 WINBERAPI ULONG BERAPI ber_skip_tag(BerElement *pBerElement,ULONG *pLen); | |
| 38 WINBERAPI ULONG BERAPI ber_peek_tag(BerElement *pBerElement,ULONG *pLen); | |
| 39 WINBERAPI ULONG BERAPI ber_first_element(BerElement *pBerElement,ULONG *pLen,CHAR **ppOpaque); | |
| 40 WINBERAPI ULONG BERAPI ber_next_element(BerElement *pBerElement,ULONG *pLen,CHAR *opaque); | |
| 41 WINBERAPI INT BERAPI ber_flatten(BerElement *pBerElement,PBERVAL *pBerVal); | |
| 42 WINBERAPI INT BERAPI ber_printf(BerElement *pBerElement,PCHAR fmt,...); | |
| 43 WINBERAPI ULONG BERAPI ber_scanf(BerElement *pBerElement,PCHAR fmt,...); | |
| 44 | |
| 45 #ifdef __cplusplus | |
| 46 } | |
| 47 #endif | |
| 48 #endif |
