clarification: get_info() returns const char *

This commit is contained in:
marschap
2006-04-12 08:12:13 +00:00
parent e558530d02
commit 587085a292
19 changed files with 24 additions and 23 deletions
+2 -2
View File
@@ -158,7 +158,7 @@ API_VERSION in the code.
//// Informational functions
// get a string describing the driver and it's features
char * (*get_info) (Driver *drvthis);
const char * (*get_info) (Driver *drvthis);
@@ -590,7 +590,7 @@ typedef struct my_driver_private {
<funcsynopsis>
<funcprototype>
<funcdef>char *<function>(*get_info)</function></funcdef>
<funcdef>const char *<function>(*get_info)</function></funcdef>
<paramdef>Driver *<parameter>drvthis</parameter></paramdef>
</funcprototype>
</funcsynopsis>