* Made Dump() const.

* Removed superfluous whitespace.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26347 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-07-09 21:32:37 +00:00
parent 14f3368d36
commit 8d79c7db81
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
/*
/*
* Copyright 2005-2007, Ingo Weinhold, [email protected]. All rights reserved.
* Distributed under the terms of the MIT License.
*/
@@ -135,7 +135,7 @@ public:
status_t ReceiveFrom(port_id fromPort, bigtime_t timeout = -1,
port_message_info* messageInfo = NULL);
void Dump(void (*printFunc)(const char*,...));
void Dump(void (*printFunc)(const char*,...)) const;
private:
friend class KMessageField;
@@ -201,7 +201,7 @@ public:
type_code TypeCode() const;
bool HasFixedElementSize() const;
int32 ElementSize() const; // if HasFixedElementSize()
status_t AddElement(const void *data, int32 size = -1);
status_t AddElements(const void *data, int32 count, int32 elementSize = -1);
const void *ElementAt(int32 index, int32 *size = NULL) const;