mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Added typedef for longobject and declarations for long_{format,scan}.
This commit is contained in:
parent
e32e014c7e
commit
44c8f69ff2
1 changed files with 5 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue