std::multimap<std::string, ePythonKeyBinding> m_python_keys;
#endif
};
-SWIG_TEMPLATE_TYPEDEF_REPLACE(ePtr<eActionMap>, eActionMap);
+SWIG_TEMPLATE_TYPEDEF(ePtr<eActionMap>, eActionMap);
SWIG_EXTEND(ePtr<eActionMap>,
static ePtr<eActionMap> getInstance()
{
PSignal1<void,int> frontendUseMaskChanged;
SWIG_VOID(RESULT) allocateRawChannel(eUsePtr<iDVBChannel> &SWIG_OUTPUT, int frontend_index);
};
-SWIG_TEMPLATE_TYPEDEF_REPLACE(ePtr<eDVBResourceManager>, eDVBResourceManager);
+SWIG_TEMPLATE_TYPEDEF(ePtr<eDVBResourceManager>, eDVBResourceManager);
SWIG_EXTEND(ePtr<eDVBResourceManager>,
static ePtr<eDVBResourceManager> getInstance()
{
static eWindowStyleManager *m_instance;
std::map<int, ePtr<eWindowStyle> > m_current_style;
};
-SWIG_TEMPLATE_TYPEDEF_REPLACE(ePtr<eWindowStyleManager>, eWindowStyleManager);
+SWIG_TEMPLATE_TYPEDEF(ePtr<eWindowStyleManager>, eWindowStyleManager);
SWIG_EXTEND(ePtr<eWindowStyleManager>,
static ePtr<eWindowStyleManager> getInstance()
{
for str in source.readlines():
oldstr = str[:]
str = str.replace('_ENUMS)', ')')
- str = str.replace('_REPLACE)', ')')
pos = str.find('_ENUMS')
if pos != -1:
if tmpstr.find('_enigma.') == -1:
str = str[:pos]+str[pos+6:]
- pos = str.find('_REPLACE')
- if pos != -1:
- spacepos = pos
- while spacepos > 0 and str[spacepos] != ' ':
- spacepos -= 1
- tmpstr = str[spacepos:pos]
- if tmpstr.find('_enigma.') == -1:
- str = str[:pos]+str[pos+8:]
-
-
if oldstr != str:
print "!!! Patch enigma.py line %d\n%s\n%s" %(line, oldstr[:len(oldstr)-1], str)
#define SWIG_IGNORE(x) %ignore x
#define SWIG_EXTEND(x, code) %extend x { code }
#define SWIG_TEMPLATE_TYPEDEF(x, y) %template(y) x; %typemap_output_ptr(x)
-#define SWIG_TEMPLATE_TYPEDEF_REPLACE(x, y) %template(y##_REPLACE) x; %typemap_output_ptr(x)
#define SWIG_ALLOW_OUTPUT_SIMPLE(x) %typemap_output_simple(x)
#define SWIG_INPUT INPUT
#define SWIG_OUTPUT OUTPUT
#define SWIG_IGNORE(x)
#define SWIG_EXTEND(x, code)
#define SWIG_TEMPLATE_TYPEDEF(x, y)
-#define SWIG_TEMPLATE_TYPEDEF_REPLACE(x, y)
#define SWIG_ALLOW_OUTPUT_SIMPLE(x)
#define SWIG_INPUT
#define SWIG_OUTPUT