diff options
| author | Dmitry Antipov | 2012-08-07 11:42:34 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-08-07 11:42:34 +0400 |
| commit | 4d2b044cdc0cb1edc8150772fbbb24e2e55c4b77 (patch) | |
| tree | a6de5fdb164bad38a3389f9d7e0703b9ab8a0043 /src/w32.c | |
| parent | d3d50620ed3a8066c15ae3d3701b83371ca5382a (diff) | |
| download | emacs-4d2b044cdc0cb1edc8150772fbbb24e2e55c4b77.tar.gz emacs-4d2b044cdc0cb1edc8150772fbbb24e2e55c4b77.zip | |
Drop PGET and revert read access to Lisp_Objects slots of Lisp_Process.
* process.h (PGET): Remove.
(struct Lisp_Process): Do not use INTERNAL_FIELD.
* gnutls.c, print.c, process.c, sysdep.c, w32.c, xdisp.c: Adjust users.
Diffstat (limited to 'src/w32.c')
| -rw-r--r-- | src/w32.c | 12 |
1 files changed, 6 insertions, 6 deletions
| @@ -6890,7 +6890,7 @@ serial_configure (struct Lisp_Process *p, Lisp_Object contact) | |||
| 6890 | error ("Not a serial process"); | 6890 | error ("Not a serial process"); |
| 6891 | hnd = fd_info[ p->outfd ].hnd; | 6891 | hnd = fd_info[ p->outfd ].hnd; |
| 6892 | 6892 | ||
| 6893 | childp2 = Fcopy_sequence (PGET (p, childp)); | 6893 | childp2 = Fcopy_sequence (p->childp); |
| 6894 | 6894 | ||
| 6895 | /* Initialize timeouts for blocking read and blocking write. */ | 6895 | /* Initialize timeouts for blocking read and blocking write. */ |
| 6896 | if (!GetCommTimeouts (hnd, &ct)) | 6896 | if (!GetCommTimeouts (hnd, &ct)) |
| @@ -6919,7 +6919,7 @@ serial_configure (struct Lisp_Process *p, Lisp_Object contact) | |||
| 6919 | if (!NILP (Fplist_member (contact, QCspeed))) | 6919 | if (!NILP (Fplist_member (contact, QCspeed))) |
| 6920 | tem = Fplist_get (contact, QCspeed); | 6920 | tem = Fplist_get (contact, QCspeed); |
| 6921 | else | 6921 | else |
| 6922 | tem = Fplist_get (PGET (p, childp), QCspeed); | 6922 | tem = Fplist_get (p->childp, QCspeed); |
| 6923 | CHECK_NUMBER (tem); | 6923 | CHECK_NUMBER (tem); |
| 6924 | dcb.BaudRate = XINT (tem); | 6924 | dcb.BaudRate = XINT (tem); |
| 6925 | childp2 = Fplist_put (childp2, QCspeed, tem); | 6925 | childp2 = Fplist_put (childp2, QCspeed, tem); |
| @@ -6928,7 +6928,7 @@ serial_configure (struct Lisp_Process *p, Lisp_Object contact) | |||
| 6928 | if (!NILP (Fplist_member (contact, QCbytesize))) | 6928 | if (!NILP (Fplist_member (contact, QCbytesize))) |
| 6929 | tem = Fplist_get (contact, QCbytesize); | 6929 | tem = Fplist_get (contact, QCbytesize); |
| 6930 | else | 6930 | else |
| 6931 | tem = Fplist_get (PGET (p, childp), QCbytesize); | 6931 | tem = Fplist_get (p->childp, QCbytesize); |
| 6932 | if (NILP (tem)) | 6932 | if (NILP (tem)) |
| 6933 | tem = make_number (8); | 6933 | tem = make_number (8); |
| 6934 | CHECK_NUMBER (tem); | 6934 | CHECK_NUMBER (tem); |
| @@ -6942,7 +6942,7 @@ serial_configure (struct Lisp_Process *p, Lisp_Object contact) | |||
| 6942 | if (!NILP (Fplist_member (contact, QCparity))) | 6942 | if (!NILP (Fplist_member (contact, QCparity))) |
| 6943 | tem = Fplist_get (contact, QCparity); | 6943 | tem = Fplist_get (contact, QCparity); |
| 6944 | else | 6944 | else |
| 6945 | tem = Fplist_get (PGET (p, childp), QCparity); | 6945 | tem = Fplist_get (p->childp, QCparity); |
| 6946 | if (!NILP (tem) && !EQ (tem, Qeven) && !EQ (tem, Qodd)) | 6946 | if (!NILP (tem) && !EQ (tem, Qeven) && !EQ (tem, Qodd)) |
| 6947 | error (":parity must be nil (no parity), `even', or `odd'"); | 6947 | error (":parity must be nil (no parity), `even', or `odd'"); |
| 6948 | dcb.fParity = FALSE; | 6948 | dcb.fParity = FALSE; |
| @@ -6972,7 +6972,7 @@ serial_configure (struct Lisp_Process *p, Lisp_Object contact) | |||
| 6972 | if (!NILP (Fplist_member (contact, QCstopbits))) | 6972 | if (!NILP (Fplist_member (contact, QCstopbits))) |
| 6973 | tem = Fplist_get (contact, QCstopbits); | 6973 | tem = Fplist_get (contact, QCstopbits); |
| 6974 | else | 6974 | else |
| 6975 | tem = Fplist_get (PGET (p, childp), QCstopbits); | 6975 | tem = Fplist_get (p->childp, QCstopbits); |
| 6976 | if (NILP (tem)) | 6976 | if (NILP (tem)) |
| 6977 | tem = make_number (1); | 6977 | tem = make_number (1); |
| 6978 | CHECK_NUMBER (tem); | 6978 | CHECK_NUMBER (tem); |
| @@ -6989,7 +6989,7 @@ serial_configure (struct Lisp_Process *p, Lisp_Object contact) | |||
| 6989 | if (!NILP (Fplist_member (contact, QCflowcontrol))) | 6989 | if (!NILP (Fplist_member (contact, QCflowcontrol))) |
| 6990 | tem = Fplist_get (contact, QCflowcontrol); | 6990 | tem = Fplist_get (contact, QCflowcontrol); |
| 6991 | else | 6991 | else |
| 6992 | tem = Fplist_get (PGET (p, childp), QCflowcontrol); | 6992 | tem = Fplist_get (p->childp, QCflowcontrol); |
| 6993 | if (!NILP (tem) && !EQ (tem, Qhw) && !EQ (tem, Qsw)) | 6993 | if (!NILP (tem) && !EQ (tem, Qhw) && !EQ (tem, Qsw)) |
| 6994 | error (":flowcontrol must be nil (no flowcontrol), `hw', or `sw'"); | 6994 | error (":flowcontrol must be nil (no flowcontrol), `hw', or `sw'"); |
| 6995 | dcb.fOutxCtsFlow = FALSE; | 6995 | dcb.fOutxCtsFlow = FALSE; |