activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r598841 - in /activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio: ByteBuffer.cpp ByteBuffer.h
Date Wed, 28 Nov 2007 01:26:27 GMT
Author: tabish
Date: Tue Nov 27 17:26:25 2007
New Revision: 598841

URL: http://svn.apache.org/viewvc?rev=598841&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQCPP-103

Working on the NIO package

Modified:
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.cpp
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.cpp?rev=598841&r1=598840&r2=598841&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.cpp (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.cpp Tue Nov 27 17:26:25
2007
@@ -128,7 +128,7 @@
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ByteBuffer* ByteBuffer::wrap( unsigned char* buffer, int offset, int length )
+ByteBuffer* ByteBuffer::wrap( unsigned char* buffer, std::size_t offset, std::size_t length
)
     throw( lang::exceptions::NullPointerException ) {
 
     try{

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h?rev=598841&r1=598840&r2=598841&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h Tue Nov 27 17:26:25
2007
@@ -856,7 +856,7 @@
          * @param length - The length of the subarray to be used
          * @returns a new ByteBuffer that is backed by buffer, caller owns.
          */
-        static ByteBuffer* wrap( unsigned char* array, int offset, int length )
+        static ByteBuffer* wrap( unsigned char* array, std::size_t offset, std::size_t length
)
             throw( lang::exceptions::NullPointerException );
 
         /**



Mime
View raw message