You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by wh...@apache.org on 2004/11/02 16:22:08 UTC
cvs commit: ws-axis/c/include/axis/server GDefine.hpp
whitlock 2004/11/02 07:22:08
Modified: c/include/axis/server GDefine.hpp
Log:
Remove C support temporarily
Revision Changes Path
1.2 +3 -31 ws-axis/c/include/axis/server/GDefine.hpp
Index: GDefine.hpp
===================================================================
RCS file: /home/cvs/ws-axis/c/include/axis/server/GDefine.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- GDefine.hpp 25 Oct 2004 13:39:27 -0000 1.1
+++ GDefine.hpp 2 Nov 2004 15:22:08 -0000 1.2
@@ -50,8 +50,6 @@
#define AxisXMLCh char
#define XML_Ch AxisChar
-#ifdef __cplusplus
-
#define AXIS_CPP_NAMESPACE_START namespace axiscpp {
#define AXIS_CPP_NAMESPACE_END }
/*
@@ -62,20 +60,9 @@
#define AXIS_CPP_NAMESPACE_USE using namespace axiscpp;
#define AXIS_CPP_NAMESPACE_PREFIX axiscpp::
-
#define AxisString basic_string<char>
#define AxisXMLString basic_string<AxisXMLCh>
-#else
-
-#define AXIS_CPP_NAMESPACE_START
-#define AXIS_CPP_NAMESPACE_END
-
-#define AXIS_CPP_NAMESPACE_USE
-#define AXIS_CPP_NAMESPACE_PREFIX
-
-#endif
-
#ifdef WIN32
#define AxisSprintf(X, Y, Z, W) sprintf(X, Z, W)
#else /* linux */
@@ -111,24 +98,9 @@
* AXISAPI(<METHOD NAME>, <PARAMETER LIST>)
*/
-#ifdef __cplusplus
- #define AXISAPI(M, P) AXISCALL M P = 0;
- #define APIHASPARAMS
- #define APINOPARAMS
-#else
- #define virtual
- #if !defined(bool)
- #define bool unsigned char
- #define false 0
- #define true 1
- #endif
- #if !defined(NULL)
- #define NULL 0
- #endif
- #define AXISAPI(M, P) (AXISCALL* M) P;
- #define APIHASPARAMS void*p,
- #define APINOPARAMS void*p
-#endif
+#define AXISAPI(M, P) AXISCALL M P = 0;
+#define APIHASPARAMS
+#define APINOPARAMS
#endif