Mercurial > emacs
changeset 21849:96fd475a324d
(struct process): Make inherit_coding_system_flag a Lisp_Object.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 29 Apr 1998 21:47:23 +0000 |
parents | 050ea21cec87 |
children | 96fc2ea42485 |
files | src/process.h |
diffstat | 1 files changed, 9 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.h Wed Apr 29 21:46:43 1998 +0000 +++ b/src/process.h Wed Apr 29 21:47:23 1998 +0000 @@ -19,10 +19,11 @@ Boston, MA 02111-1307, USA. */ -/* - * Structure records pertinent information about open channels. - * There is one channel associated with each process. - */ +/* This structure records information about a subprocess + or network connection. + + Every field in this structure except for the first two + must be a Lisp_Object, for GC's sake. */ struct Lisp_Process { @@ -89,9 +90,12 @@ Lisp_Object encoding_carryover; /* Flag to set coding-system of the process buffer from the coding_system used to decode process output. */ - int inherit_coding_system_flag; + Lisp_Object inherit_coding_system_flag; }; +/* Every field in the preceding structure except for the first two + must be a Lisp_Object, for GC's sake. */ + #define ChannelMask(n) (1<<(n)) /* Indexed by descriptor, gives the process (if any) for that descriptor. */