unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: Kenichi Handa <handa@m17n.org>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: LGLYPH_SET_CODE
Date: Fri, 29 Aug 2008 19:26:57 +0800	[thread overview]
Message-ID: <48B7DD01.2000306@gnu.org> (raw)
In-Reply-To: <E1KZ1zC-0005Dc-Kz@etlken.m17n.org>

Kenichi Handa wrote:

> It is intended that VAL is not negative.  That macro is
> called at four places, and except for one place, it is
> assured that VAL is never negative.  The exception is in
> uniscribe_shape of w32uniscribe.c:
>
> 		  LGLYPH_SET_CODE (lglyph, glyphs[j]);
>
> The type of glyphs[j] is "WORD" and I don't know if it's
> unsigned or not
>   

WORD is defined as below in the Windows system headers:

typedef unsigned short WORD;

So I think it is safe.





  reply	other threads:[~2008-08-29 11:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-29  8:44 LGLYPH_SET_CODE Eli Zaretskii
2008-08-29 11:17 ` LGLYPH_SET_CODE Kenichi Handa
2008-08-29 11:26   ` Jason Rumney [this message]
2008-08-29 23:48   ` LGLYPH_SET_CODE Richard M. Stallman
2008-09-01  5:17     ` LGLYPH_SET_CODE Kenichi Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48B7DD01.2000306@gnu.org \
    --to=jasonr@gnu.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).