aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h
index d0f7a9720c0..04f729f182a 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -34,6 +34,10 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
34#include <intprops.h> 34#include <intprops.h>
35#include <verify.h> 35#include <verify.h>
36 36
37#ifdef HAVE_NATIVE_COMP
38#include <dynlib.h>
39#endif
40
37INLINE_HEADER_BEGIN 41INLINE_HEADER_BEGIN
38 42
39/* Define a TYPE constant ID as an externally visible name. Use like this: 43/* Define a TYPE constant ID as an externally visible name. Use like this:
@@ -2064,6 +2068,11 @@ CHAR_TABLE_SET (Lisp_Object ct, int idx, Lisp_Object val)
2064 char_table_set (ct, idx, val); 2068 char_table_set (ct, idx, val);
2065} 2069}
2066 2070
2071struct Native_Compilation_Unit
2072{
2073 dynlib_handle_ptr handle;
2074};
2075
2067/* This structure describes a built-in function. 2076/* This structure describes a built-in function.
2068 It is generated by the DEFUN macro only. 2077 It is generated by the DEFUN macro only.
2069 defsubr makes it into a Lisp object. */ 2078 defsubr makes it into a Lisp object. */
@@ -2095,7 +2104,7 @@ struct Lisp_Subr
2095 Lisp_Object native_doc; 2104 Lisp_Object native_doc;
2096 }; 2105 };
2097#ifdef HAVE_NATIVE_COMP 2106#ifdef HAVE_NATIVE_COMP
2098 bool native_elisp; 2107 struct Native_Compilation_Unit *native_comp_u;;
2099#endif 2108#endif
2100 } GCALIGNED_STRUCT; 2109 } GCALIGNED_STRUCT;
2101union Aligned_Lisp_Subr 2110union Aligned_Lisp_Subr