[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

int/Lisp_Object mixup

From: Stefan Monnier
Subject: int/Lisp_Object mixup
Date: 02 Mar 2004 16:30:22 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

I recommend that people compile with -DUSE_LISP_UNION_TYPE every once in
a while to cach int/Lisp_Object mixups.

Usually, these are just minor problems where an Lisp integer is mixed up
with a C integer, in which case it can be fixed trivially by anyone
including myself.

But sometimes not.  E.g. right now in xdisp.c I see

  14355:  int overlay_arrow_bitmap;
  14752:      && (overlay_arrow_string = overlay_arrow_at_row (it->f, row,
  14759:          struct glyph_row *arrow_row
  14760:            = get_overlay_arrow_glyph_row (it->w, overlay_arrow_bitmap);

but get_overlay_arrow_glyph_row expects a Lisp_Object as second arg, and
more specifically it expects a Lisp string.  If someone can fix this up,
that'd be helpful,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]