rename 'event' by 'Event', so it's C# keyword
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16519 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e253e8fb6a
commit
83bae735d8
|
@ -23,4 +23,39 @@
|
|||
%newobject ESLconnection::executeAsync;
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef SWIGCSHARP
|
||||
//fix C# keyword event
|
||||
%rename (Event) ESLevent::event;
|
||||
// Rename some things to make them more .NET-like
|
||||
%rename (SerializedString) ESLevent::serialized_string;
|
||||
%rename (Mine) ESLevent::mine;
|
||||
%rename (Serialize) ESLevent::serialize;
|
||||
%rename (SetPriority) ESLevent::setPriority;
|
||||
%rename (GetHeader) ESLevent::getHeader;
|
||||
%rename (GetBody) ESLevent::getBody;
|
||||
%rename (AddBody) ESLevent::addBody;
|
||||
%rename (AddHeader) ESLevent::addHeader;
|
||||
%rename (DelHeader) ESLevent::delHeader;
|
||||
%rename (FirstHeader) ESLevent::firstHeader;
|
||||
%rename (NextHeader) ESLevent::nextHeader;
|
||||
%rename (SocketDescriptor) ESLconnection::socketDescriptor;
|
||||
%rename (Connected) ESLconnection::connected;
|
||||
%rename (GetInfo) ESLconnection::getInfo;
|
||||
%rename (Send) ESLconnection::send;
|
||||
%rename (SendRecv) ESLconnection::sendRecv;
|
||||
%rename (Api) ESLconnection::api;
|
||||
%rename (Bgapi) ESLconnection::bgapi;
|
||||
%rename (SendEvent) ESLconnection::sendEvent;
|
||||
%rename (RecvEvent) ESLconnection::recvEvent;
|
||||
%rename (RecvEventTimed) ESLconnection::recvEventTimed;
|
||||
%rename (Filter) ESLconnection::filter;
|
||||
%rename (Events) ESLconnection::events;
|
||||
%rename (Execute) ESLconnection::execute;
|
||||
%rename (ExecuteAsync) ESLconnection::executeAsync;
|
||||
%rename (SetAsyncExecute) ESLconnection::setAsyncExecute;
|
||||
%rename (SetEventLock) ESLconnection::setEventLock;
|
||||
%rename (Disconnect) ESLconnection::disconnect;
|
||||
#endif
|
||||
|
||||
%include "esl_oop.h"
|
||||
|
|
Loading…
Reference in New Issue