]> git.eshelyaron.com Git - emacs.git/commit
Refactor pointer-to-integer conversion
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 9 Jan 2015 16:04:36 +0000 (08:04 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 9 Jan 2015 16:22:35 +0000 (08:22 -0800)
commitd1f848ffb9896fe2bd8eb9e7d70a49ca9ff9522f
tree8789ccadf4cf2651edeec31aec5dc4695a399e88
parenta749f1c648f2b9bf1a0b0b10e2da4c1c4e3d431d
Refactor pointer-to-integer conversion

* gfilenotify.c (monitor_to_lisp, lisp_to_monitor):
Rename and move to lisp.h.  All uses changed.
* lisp.h (XINTPTR, make_pointer_integer): New inline functions,
which are renamed from gfilenotify.c's lisp_to_monitor and
monitor_to_lisp, and with more-generic void * signatures.
src/ChangeLog
src/gfilenotify.c
src/lisp.h