diff options
| author | Gerd Moellmann | 2000-10-02 11:11:12 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-10-02 11:11:12 +0000 |
| commit | 834168efd88f54f6f7033123fbc383346f7ea5bf (patch) | |
| tree | addb9365c7a14f8db5e1a6f760f347f72091816f /src | |
| parent | 4eaa6852c9b55d05daf0a2f3ecc37c05121adf03 (diff) | |
| download | emacs-834168efd88f54f6f7033123fbc383346f7ea5bf.tar.gz emacs-834168efd88f54f6f7033123fbc383346f7ea5bf.zip | |
(wrong_type_argument): Remove NO_RETURN, the function can
return with a string converted to an integer or vice versa when
Vmocklisp_arguments is t.
(Fsignal): Likewise. The function can return for `quit'.
(struct gcpro): Declare member `var' to point to a volatile
Lisp_Object.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/lisp.h b/src/lisp.h index 1053feaf65a..0e45bbe4eec 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -1630,14 +1630,19 @@ extern int gc_cons_threshold; | |||
| 1630 | extern struct gcpro *gcprolist; | 1630 | extern struct gcpro *gcprolist; |
| 1631 | 1631 | ||
| 1632 | struct gcpro | 1632 | struct gcpro |
| 1633 | { | 1633 | { |
| 1634 | struct gcpro *next; | 1634 | struct gcpro *next; |
| 1635 | Lisp_Object *var; /* Address of first protected variable */ | 1635 | |
| 1636 | int nvars; /* Number of consecutive protected variables */ | 1636 | /* Address of first protected variable. */ |
| 1637 | volatile Lisp_Object *var; | ||
| 1638 | |||
| 1639 | /* Number of consecutive protected variables. */ | ||
| 1640 | int nvars; | ||
| 1641 | |||
| 1637 | #ifdef DEBUG_GCPRO | 1642 | #ifdef DEBUG_GCPRO |
| 1638 | int level; | 1643 | int level; |
| 1639 | #endif | 1644 | #endif |
| 1640 | }; | 1645 | }; |
| 1641 | 1646 | ||
| 1642 | /* Values of GC_MARK_STACK during compilation: | 1647 | /* Values of GC_MARK_STACK during compilation: |
| 1643 | 1648 | ||
| @@ -1898,7 +1903,7 @@ extern Lisp_Object long_to_cons P_ ((unsigned long)); | |||
| 1898 | extern unsigned long cons_to_long P_ ((Lisp_Object)); | 1903 | extern unsigned long cons_to_long P_ ((Lisp_Object)); |
| 1899 | extern void args_out_of_range P_ ((Lisp_Object, Lisp_Object)); | 1904 | extern void args_out_of_range P_ ((Lisp_Object, Lisp_Object)); |
| 1900 | extern void args_out_of_range_3 P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); | 1905 | extern void args_out_of_range_3 P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); |
| 1901 | extern Lisp_Object wrong_type_argument P_ ((Lisp_Object, Lisp_Object)) NO_RETURN; | 1906 | extern Lisp_Object wrong_type_argument P_ ((Lisp_Object, Lisp_Object)); |
| 1902 | extern void store_symval_forwarding P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); | 1907 | extern void store_symval_forwarding P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); |
| 1903 | extern Lisp_Object do_symval_forwarding P_ ((Lisp_Object)); | 1908 | extern Lisp_Object do_symval_forwarding P_ ((Lisp_Object)); |
| 1904 | extern Lisp_Object set_internal P_ ((Lisp_Object, Lisp_Object, struct buffer *, int)); | 1909 | extern Lisp_Object set_internal P_ ((Lisp_Object, Lisp_Object, struct buffer *, int)); |
| @@ -2300,7 +2305,7 @@ EXFUN (Fcatch, UNEVALLED); | |||
| 2300 | EXFUN (Fthrow, 2) NO_RETURN; | 2305 | EXFUN (Fthrow, 2) NO_RETURN; |
| 2301 | EXFUN (Funwind_protect, UNEVALLED); | 2306 | EXFUN (Funwind_protect, UNEVALLED); |
| 2302 | EXFUN (Fcondition_case, UNEVALLED); | 2307 | EXFUN (Fcondition_case, UNEVALLED); |
| 2303 | EXFUN (Fsignal, 2) NO_RETURN; | 2308 | EXFUN (Fsignal, 2); |
| 2304 | EXFUN (Fautoload, 5); | 2309 | EXFUN (Fautoload, 5); |
| 2305 | EXFUN (Fcommandp, 1); | 2310 | EXFUN (Fcommandp, 1); |
| 2306 | EXFUN (Feval, 1); | 2311 | EXFUN (Feval, 1); |