summaryrefslogtreecommitdiffstats
path: root/Modules/cstubs
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-09-08 09:05:33 (GMT)
committerGuido van Rossum <guido@python.org>1992-09-08 09:05:33 (GMT)
commitaee087946dbbcda815e8d337fa0b051b814a04fc (patch)
treeb3ffa5be07076015d6c8240da101d720a659c0f5 /Modules/cstubs
parent4526f379bca5695b2144f1142f6a524d77bb7fe4 (diff)
downloadcpython-aee087946dbbcda815e8d337fa0b051b814a04fc.zip
cpython-aee087946dbbcda815e8d337fa0b051b814a04fc.tar.gz
cpython-aee087946dbbcda815e8d337fa0b051b814a04fc.tar.bz2
Made struct a standard built-in module; added string args to {set,get}sockopt;
added gl.gversion().
Diffstat (limited to 'Modules/cstubs')
-rw-r--r--Modules/cstubs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Modules/cstubs b/Modules/cstubs
index 76feb6a..6ff8f54 100644
--- a/Modules/cstubs
+++ b/Modules/cstubs
@@ -801,6 +801,18 @@ gl_unpackrect(self, args)
return unpacked;
}
+% gversion
+static object *
+gl_gversion(self, args)
+ object *self;
+ object *args;
+{
+ char buf[20];
+ gversion(buf);
+ return newstringobject(buf);
+}
+
+
/* End of manually written stubs */
%%