]> granicus.if.org Git - python/commitdiff
Bug #1184380: extending&embedding example broken
authorGeorg Brandl <georg@python.org>
Sun, 5 Jun 2005 10:56:59 +0000 (10:56 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 5 Jun 2005 10:56:59 +0000 (10:56 +0000)
Doc/ext/extending.tex

index bc2f9cb8fcb392d082e721f92869502f37aa1228..7016f94d4cefda1981ecb2a931ec7569ffe81536 100644 (file)
@@ -1306,7 +1306,7 @@ extern "C" {
 /* C API functions */
 #define PySpam_System_NUM 0
 #define PySpam_System_RETURN int
-#define PySpam_System_PROTO (char *command)
+#define PySpam_System_PROTO (const char *command)
 
 /* Total number of C API pointers */
 #define PySpam_API_pointers 1