diff include/SDL_version.h @ 4419:5e7e1f1a4056

Changed revision details to be a string (an hg changeset) instead of an int.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 28 Feb 2010 02:07:40 -0500
parents f7b03b6838cb
children 3b5f4b3a69e1
line wrap: on
line diff
--- a/include/SDL_version.h	Sun Feb 28 02:06:47 2010 -0500
+++ b/include/SDL_version.h	Sun Feb 28 02:07:40 2010 -0500
@@ -139,8 +139,11 @@
 
 /**
  *  \brief Get the code revision of SDL that is linked against your program.
+ *
+ *  This is an arbitrary string (a hash value, actually), and is only useful
+ *  in comparing against other revisions. It is NOT an incrementing number.
  */
-extern DECLSPEC int SDLCALL SDL_GetRevision(void);
+extern DECLSPEC const char *SDLCALL SDL_GetRevision(void);
 
 /* Ends C function definitions when using C++ */
 #ifdef __cplusplus