• Philipp Stephani's avatar
    Remove some #ifdefs for user pointers. · e7cb6eea
    Philipp Stephani authored
    Even if Emacs is compiled without module support, we don't have to
    comment out every bit of user pointer support.  Defining the basic
    structures and functions and detecting user pointers in switch
    statements is harmless, and we're already doing the same for module
    functions.  Removing these #ifdefs makes the code a bit easier to
    * src/lisp.h (PVEC_USER_PTR, struct Lisp_User_Ptr, USER_PTRP)
    (XUSER_PTR): Define unconditionally.
    * src/data.c (Ftype_of):
    * src/alloc.c (cleanup_vector):
    * src/print.c (print_vectorlike):
    * src/pdumper.c (dump_vectorlike): Remove #ifdef for user pointers.
data.c 116 KB