blob: 70325bb21e0a0223ac8f2221f69c6a9e35619e53 (
plain)
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
|
// **********************************************************************
//
// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
#include <Ice/Stream.h>
using namespace std;
using namespace Ice;
using namespace IceInternal;
void IceInternal::incRef(InputStream* p) { p->__incRef(); }
void IceInternal::decRef(InputStream* p) { p->__decRef(); }
void IceInternal::incRef(OutputStream* p) { p->__incRef(); }
void IceInternal::decRef(OutputStream* p) { p->__decRef(); }
Ice::ReadObjectCallbackI::ReadObjectCallbackI(PatchFunc func, void* arg) :
_func(func), _arg(arg)
{
}
void
Ice::ReadObjectCallbackI::invoke(const ::Ice::ObjectPtr& p)
{
_func(_arg, const_cast< ::Ice::ObjectPtr& >(p));
}
|