File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2222
2323******************************************************************/
2424
25+ /* This is published for the benefit of "friend" marshal.c only. */
26+
2527/* Parameters of the long integer representation.
2628 These shouldn't have to be changed as C should guarantee that a short
2729 contains at least 16 bits, but it's made changeable any way.
@@ -52,17 +54,10 @@ typedef long stwodigits; /* signed variant of twodigits */
5254 The allocation fuction takes care of allocating extra memory
5355 so that ob_digit[0] ... ob_digit[abs(ob_size)-1] are actually available. */
5456
55- typedef struct {
57+ struct _longobject {
5658 OB_HEAD
5759 int ob_size ; /* XXX Hack! newvarobj() stores it as unsigned! */
5860 digit ob_digit [1 ];
59- } longobject ;
60-
61- #define ABS (x ) ((x) < 0 ? -(x) : (x))
61+ };
6262
63- /* Internal use only */
6463longobject * alloclongobject PROTO ((int ));
65- longobject * long_normalize PROTO ((longobject * ));
66- longobject * mul1 PROTO ((longobject * , wdigit ));
67- longobject * muladd1 PROTO ((longobject * , wdigit , wdigit ));
68- longobject * divrem1 PROTO ((longobject * , wdigit , digit * ));
You can’t perform that action at this time.
0 commit comments