all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* MPS: Change some macros to functions
@ 2024-07-11 12:35 Gerd Möllmann
  2024-07-11 13:01 ` Gerd Möllmann
  0 siblings, 1 reply; 6+ messages in thread
From: Gerd Möllmann @ 2024-07-11 12:35 UTC (permalink / raw)
  To: Pip Cet; +Cc: Emacs Devel, Helmut Eller

Any objections against changing these to functions?

  #define IGC_HEADER_NWORDS(h) ((h)->v >> IGC_HEADER_NWORDS_SHIFT)
  #define IGC_HEADER_HASH(h) (((h)->v >> IGC_HEADER_HASH_SHIFT) & IGC_HEADER_HASH_MASK)
  #define IGC_HEADER_TYPE(h) (((h)->v >> IGC_HEADER_TYPE_SHIFT) & IGC_HEADER_TYPE_MASK)
  #define IGC_HEADER_TAG(h) ((h)->v & IGC_HEADER_TAG_MASK)

LLDB can't handle macros, and having return types would also be nice.

I can do that if you agree.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-07-11 14:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-11 12:35 MPS: Change some macros to functions Gerd Möllmann
2024-07-11 13:01 ` Gerd Möllmann
2024-07-11 13:13   ` Andrea Corallo
2024-07-11 13:25     ` Gerd Möllmann
2024-07-11 13:35   ` Pip Cet
2024-07-11 14:19     ` Gerd Möllmann

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.