… | |
… | |
22 | |
22 | |
23 | #ifndef PSICONV_COMMON_H |
23 | #ifndef PSICONV_COMMON_H |
24 | #define PSICONV_COMMON_H |
24 | #define PSICONV_COMMON_H |
25 | |
25 | |
26 | #include <psiconv/general.h> |
26 | #include <psiconv/general.h> |
27 | #include <psiconv/list.h> |
|
|
28 | |
27 | |
29 | #ifdef __cplusplus |
28 | #ifdef __cplusplus |
30 | extern "C" { |
29 | extern "C" { |
31 | #endif /* __cplusplus */ |
30 | #endif /* __cplusplus */ |
32 | |
|
|
33 | typedef psiconv_list psiconv_buffer; /* of u8 */ |
|
|
34 | |
|
|
35 | #define psiconv_new_buffer() psiconv_list_new(sizeof(psiconv_u8)) |
|
|
36 | #define psiconv_free_buffer(buf) psiconv_list_free(buf) |
|
|
37 | |
31 | |
38 | /* *************** |
32 | /* *************** |
39 | * misc.c * |
33 | * misc.c * |
40 | *************** */ |
34 | *************** */ |
41 | |
35 | |