mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 01:47:41 +00:00
include: Removed ::
from symbol names in comments.
This isn't C++ code, so there's no need to append global symbols with two colons. It looks ugly. I _did_ leave them for actual C++ things in WinRT-specific comments and other places, like a reference to a Perl class thing. Also, even though it's not valid C, it's a useful expression to say `StructType::SpecificField`, so I left those alone, too.
This commit is contained in:
parent
10ab623d43
commit
665ff8c5f6
7 changed files with 62 additions and 62 deletions
|
@ -64,11 +64,11 @@ typedef struct SDL_GUID {
|
|||
/* Function prototypes */
|
||||
|
||||
/**
|
||||
* Get an ASCII string representation for a given ::SDL_GUID.
|
||||
* Get an ASCII string representation for a given SDL_GUID.
|
||||
*
|
||||
* You should supply at least 33 bytes for pszGUID.
|
||||
*
|
||||
* \param guid the ::SDL_GUID you wish to convert to string
|
||||
* \param guid the SDL_GUID you wish to convert to string
|
||||
* \param pszGUID buffer in which to write the ASCII string
|
||||
* \param cbGUID the size of pszGUID
|
||||
* \returns 0 on success or a negative error code on failure; call
|
||||
|
@ -81,14 +81,14 @@ typedef struct SDL_GUID {
|
|||
extern DECLSPEC int SDLCALL SDL_GUIDToString(SDL_GUID guid, char *pszGUID, int cbGUID);
|
||||
|
||||
/**
|
||||
* Convert a GUID string into a ::SDL_GUID structure.
|
||||
* Convert a GUID string into a SDL_GUID structure.
|
||||
*
|
||||
* Performs no error checking. If this function is given a string containing
|
||||
* an invalid GUID, the function will silently succeed, but the GUID generated
|
||||
* will not be useful.
|
||||
*
|
||||
* \param pchGUID string containing an ASCII representation of a GUID
|
||||
* \returns a ::SDL_GUID structure.
|
||||
* \returns a SDL_GUID structure.
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue