mirror of
https://github.com/znc/znc.git
synced 2026-07-06 09:51:25 +02:00
Modperl: read values from MCString #93
Example:
my $x = $self->GetNetwork->GetIRCSock->GetISupport;
$x->get("CHANMODES")
No iterating through all values though :(
This commit is contained in:
@@ -79,6 +79,12 @@ namespace std {
|
||||
%template(VIRCNetworks) std::vector<CIRCNetwork*>;
|
||||
%template(VChannels) std::vector<CChan*>;
|
||||
/*%template(MNicks) std::map<CString, CNick>;*/
|
||||
/*%template(SModInfo) std::set<CModInfo>;
|
||||
%template(SCString) std::set<CString>;
|
||||
typedef std::set<CString> SCString;*/
|
||||
%template(PerlMCString) std::map<CString, CString>;
|
||||
class MCString : public std::map<CString, CString> {};
|
||||
/*%template(PerlModulesVector) std::vector<CModule*>;*/
|
||||
|
||||
%typemap(out) std::map<CString, CNick> {
|
||||
HV* myhv = newHV();
|
||||
|
||||
Reference in New Issue
Block a user