Subversion Repositories Kolibri OS

Rev

Rev 8793 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8793 Rev 9868
1
#include 
1
#include 
2
#include 
2
#include 
3
 
-
 
4
#pragma pack(push,1)
3
 
5
typedef struct {
4
typedef struct {
6
  void  (*fct)(char character, void* arg);
5
  void  (*fct)(char character, void* arg);
7
  void* arg;
6
  void* arg;
8
} out_fct_wrap_type;
7
} out_fct_wrap_type;
9
#pragma pack(pop)
-
 
10
 
8
 
11
typedef void (*out_fct_type)(char character, void* buffer, size_t idx, size_t maxlen);
9
typedef void (*out_fct_type)(char character, void* buffer, size_t idx, size_t maxlen);
12
 void _out_buffer(char character, void* buffer, size_t idx, size_t maxlen);
10
 void _out_buffer(char character, void* buffer, size_t idx, size_t maxlen);
13
 void _out_null(char character, void* buffer, size_t idx, size_t maxlen);
11
 void _out_null(char character, void* buffer, size_t idx, size_t maxlen);
14
 int _vsnprintf(out_fct_type out, char* buffer, const size_t maxlen, const char* format, va_list va);
12
 int _vsnprintf(out_fct_type out, char* buffer, const size_t maxlen, const char* format, va_list va);