BMessage: remove unimplemented GetPointer from headers and docs
* This was never implemented and no one noticed until now. * A default value for a pointer doesn't make that much sense anyway, so using the FindPointer method is fine.
This commit is contained in:
@@ -1138,7 +1138,6 @@
|
||||
|
||||
\see AddData() for a more detailed overview of the inner workings.
|
||||
\see FindPointer()
|
||||
\see GetPointer()
|
||||
\see ReplacePointer()
|
||||
|
||||
\since BeOS R3
|
||||
@@ -3514,39 +3513,6 @@ bool enabled = GetBool("enabled", false);
|
||||
*/
|
||||
|
||||
|
||||
/*!
|
||||
\fn void* BMessage::GetPointer(const char* name,
|
||||
const void* defaultValue) const
|
||||
\brief Return the pointer from message with \a name, or
|
||||
\a defaultValue if not found.
|
||||
|
||||
\param name The name of the item to retrieve.
|
||||
\param defaultValue The value to use if the item specified by \a name
|
||||
is not found.
|
||||
|
||||
\return The item with \a name, or \a defaultValue if not found.
|
||||
|
||||
\since Haiku R1
|
||||
*/
|
||||
|
||||
|
||||
/*!
|
||||
\fn void* BMessage::GetPointer(const char* name, int32 index,
|
||||
const void* defaultValue) const
|
||||
\brief Return the pointer from message with \a name and \a index, or
|
||||
\a defaultValue if not found.
|
||||
|
||||
\param name The name of the item to retrieve.
|
||||
\param index The index of the item to retrieve if there is more than one.
|
||||
\param defaultValue The value to use if the item specified by \a name
|
||||
is not found.
|
||||
|
||||
\return The item with \a name, or \a defaultValue if not found.
|
||||
|
||||
\since Haiku R1
|
||||
*/
|
||||
|
||||
|
||||
/*!
|
||||
\fn const char* BMessage::GetString(const char* name,
|
||||
const char* defaultValue) const
|
||||
|
||||
Reference in New Issue
Block a user