Mercurial > emacs
comparison src/lread.c @ 43713:f92c4d87863a
Change defvar_int def and vars to use EMACS_INT instead of just int.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 04 Mar 2002 23:41:00 +0000 |
parents | 2388863b284b |
children | ae392efb1660 |
comparison
equal
deleted
inserted
replaced
43712:223f1f5d160d | 43713:f92c4d87863a |
---|---|
3247 to a C variable of type int. Sample call: */ | 3247 to a C variable of type int. Sample call: */ |
3248 /* DEFVAR_INT ("indent-tabs-mode", &indent_tabs_mode, "Documentation"); */ | 3248 /* DEFVAR_INT ("indent-tabs-mode", &indent_tabs_mode, "Documentation"); */ |
3249 void | 3249 void |
3250 defvar_int (namestring, address) | 3250 defvar_int (namestring, address) |
3251 char *namestring; | 3251 char *namestring; |
3252 int *address; | 3252 EMACS_INT *address; |
3253 { | 3253 { |
3254 Lisp_Object sym, val; | 3254 Lisp_Object sym, val; |
3255 sym = intern (namestring); | 3255 sym = intern (namestring); |
3256 val = allocate_misc (); | 3256 val = allocate_misc (); |
3257 XMISCTYPE (val) = Lisp_Misc_Intfwd; | 3257 XMISCTYPE (val) = Lisp_Misc_Intfwd; |