File: log4cplus.swg

package info (click to toggle)
log4cplus 2.0.8-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,592 kB
  • sloc: cpp: 53,091; sh: 10,537; ansic: 1,845; python: 1,226; perl: 263; makefile: 209; xml: 85; objc: 59
file content (40 lines) | stat: -rwxr-xr-x 604 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef LOG4CPLUS_LOG4CPLUS_SWG
#define LOG4CPLUS_LOG4CPLUS_SWG

%module log4cplus

%include "std_basic_string.i"
#ifdef SWIGPYTHON
%include "std_string.i"
#ifdef UNICODE
%include "std_wstring.i"
#endif
#endif

%{
#include "log4cplus/tchar.h"
#include "log4cplus/tstring.h"
%}

namespace log4cplus
{

#ifdef UNICODE
typedef wchar_t tchar;
#else
typedef char tchar;
#endif

typedef std::basic_string<tchar> tstring;

typedef int LogLevel;

} // namespace log4cplus

%include "hierarchy.swg"
%include "loggingevent.swg"
%include "logger.swg"
%include "configurator.swg"

#endif // LOG4CPLUS_LOG4CPLUS_SWG