summaryrefslogtreecommitdiffstats
path: root/Include/longobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-01-19 16:31:28 (GMT)
committerGuido van Rossum <guido@python.org>1992-01-19 16:31:28 (GMT)
commit44c8f69ff2e3b1bbfdcc63e5c86346d6a9f9c07d (patch)
tree9bcadc926911e523231aacc12faeddb3927f7fc8 /Include/longobject.h
parente32e014c7edf368c35a6228915775b7709a51ad7 (diff)
downloadcpython-44c8f69ff2e3b1bbfdcc63e5c86346d6a9f9c07d.zip
cpython-44c8f69ff2e3b1bbfdcc63e5c86346d6a9f9c07d.tar.gz
cpython-44c8f69ff2e3b1bbfdcc63e5c86346d6a9f9c07d.tar.bz2
Added typedef for longobject and declarations for long_{format,scan}.
Diffstat (limited to 'Include/longobject.h')
-rw-r--r--Include/longobject.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Include/longobject.h b/Include/longobject.h
index 0c25053..6c5c576 100644
--- a/Include/longobject.h
+++ b/Include/longobject.h
@@ -24,6 +24,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Long (arbitrary precision) integer object interface */
+typedef struct _longobject longobject; /* Revealed in longintrepr.h */
+
extern typeobject Longtype;
#define is_longobject(op) ((op)->ob_type == &Longtype)
@@ -32,3 +34,6 @@ extern object *newlongobject PROTO((long));
extern object *dnewlongobject PROTO((double));
extern long getlongvalue PROTO((object *));
extern double dgetlongvalue PROTO((object *));
+
+object *long_format PROTO((object *, int));
+object *long_scan PROTO((char *, int));