diff options
author | Glenn Morris <rgm@gnu.org> | 2021-10-11 14:03:26 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-10-11 14:03:26 +0200 |
commit | e81f1faca4382ed5c8f15fec84fb7c900a5468f9 (patch) | |
tree | 4e0166ef21252688f5af41814dfa2c577e23de0f /src/pdumper.h | |
parent | 932c23f7978cf5e94ed9b6df4969b393f7551716 (diff) | |
download | emacs-e81f1faca4382ed5c8f15fec84fb7c900a5468f9.tar.gz |
Make the installed pmdp file use a fingerprint
* Makefile.in (EMACS_PDMP): Use --fingerprint.
* doc/emacs/cmdargs.texi (Action Arguments): Document --fingerprint.
* src/emacs.c (load_pdump): Load the fingerprinted version of the
pdmp file (bug#42790).
(main): Support --fingerprint.
* src/pdumper.c (dump_fingerprint): Make non-static.
* src/pdumper.h: Declare dump_fingerprint.
Diffstat (limited to 'src/pdumper.h')
-rw-r--r-- | src/pdumper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pdumper.h b/src/pdumper.h index deec9af046d..bc339c42da5 100644 --- a/src/pdumper.h +++ b/src/pdumper.h @@ -50,6 +50,9 @@ enum { PDUMPER_NO_OBJECT = -1 }; #define PDUMPER_REMEMBER_SCALAR(thing) \ pdumper_remember_scalar (&(thing), sizeof (thing)) +extern void dump_fingerprint (const char *label, + const unsigned char *xfingerprint); + extern void pdumper_remember_scalar_impl (void *data, ptrdiff_t nbytes); INLINE void |