5
%ignore sword::SWConfig::operator[];
6
%ignore sword::SWConfig::operator+=;
7
%ignore sword::SWConfig::sections;
8
%ignore sword::SWConfig::Sections;
13
%extend sword::SWConfig {
14
void set(const char* group, const char* entry, const char* value) {
15
self->Sections[group][entry] = value;
17
const char* get(const char* group, const char* entry) {
18
return self->Sections[group][entry].c_str();
20
std::multimap < sword::SWBuf, std::map <sword::SWBuf, sword::SWBuf> >
22
return (std::multimap < sword::SWBuf, std::map < sword::SWBuf, sword::SWBuf > > *) &self->Sections;