[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r11970: Lines should be no more than
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r11970: Lines should be no more than 80 characters, even after you add DSOEXPORT. |
Date: |
Thu, 25 Feb 2010 22:39:02 +0100 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 11970
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Thu 2010-02-25 22:39:02 +0100
message:
Lines should be no more than 80 characters, even after you add DSOEXPORT.
modified:
libbase/AMF.cpp
libbase/AMF.h
=== modified file 'libbase/AMF.cpp'
--- a/libbase/AMF.cpp 2010-02-20 08:35:06 +0000
+++ b/libbase/AMF.cpp 2010-02-25 21:39:02 +0000
@@ -165,7 +165,7 @@
}
void*
-swapBytes(void *word, size_t size)
+swapBytes(void* word, size_t size)
{
union {
boost::uint16_t s;
=== modified file 'libbase/AMF.h'
--- a/libbase/AMF.h 2010-02-24 15:26:20 +0000
+++ b/libbase/AMF.h 2010-02-25 21:39:02 +0000
@@ -24,6 +24,7 @@
#define GNASH_AMF_H
#include <string>
+#include <boost/cstdint.hpp>
#include "dsodefs.h"
#include "GnashException.h"
@@ -81,7 +82,8 @@
/// be determined from the buffer.
//
/// This function will throw an AMFException if it encounters ill-formed AMF.
-DSOEXPORT double readNumber(const boost::uint8_t*& pos, const boost::uint8_t*
end);
+DSOEXPORT double readNumber(const boost::uint8_t*& pos,
+ const boost::uint8_t* end);
/// Read a boolean value from the buffer.
//
@@ -89,7 +91,8 @@
/// be determined from the buffer.
//
/// This function will throw an AMFException if it encounters ill-formed AMF.
-DSOEXPORT bool readBoolean(const boost::uint8_t*& pos, const boost::uint8_t*
end);
+DSOEXPORT bool readBoolean(const boost::uint8_t*& pos,
+ const boost::uint8_t* end);
/// Read a string value from the buffer.
//
@@ -97,7 +100,8 @@
/// be determined from the buffer.
//
/// This function will throw an AMFException if it encounters ill-formed AMF.
-DSOEXPORT std::string readString(const boost::uint8_t*& pos, const
boost::uint8_t* end);
+DSOEXPORT std::string readString(const boost::uint8_t*& pos,
+ const boost::uint8_t* end);
/// Read a long string value from the buffer.
//
@@ -191,7 +195,7 @@
/// @param word The address of the data to byte swap.
/// @param size The number of bytes in the data.
/// @return A pointer to the raw data.
-DSOEXPORT void* swapBytes(void *word, size_t size);
+DSOEXPORT void* swapBytes(void* word, size_t size);
} // namespace amf
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r11970: Lines should be no more than 80 characters, even after you add DSOEXPORT.,
Benjamin Wolsey <=