diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/data.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/data.c b/src/data.c index 70f8a8f2c1a..3fb0fc0a190 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -883,6 +883,15 @@ DEFUN ("subr-native-comp-unit", Fsubr_native_comp_unit, | |||
| 883 | CHECK_SUBR (subr); | 883 | CHECK_SUBR (subr); |
| 884 | return XSUBR (subr)->native_comp_u; | 884 | return XSUBR (subr)->native_comp_u; |
| 885 | } | 885 | } |
| 886 | |||
| 887 | DEFUN ("native-comp-unit-file", Fnative_comp_unit_file, | ||
| 888 | Snative_comp_unit_file, 1, 1, 0, | ||
| 889 | doc: /* Return the file of the native compilation unit. */) | ||
| 890 | (Lisp_Object object) | ||
| 891 | { | ||
| 892 | CHECK_TYPE (NATIVE_COMP_UNITP (object), Qnative_comp_unit, object); | ||
| 893 | return XNATIVE_COMP_UNIT (object)->file; | ||
| 894 | } | ||
| 886 | #endif | 895 | #endif |
| 887 | 896 | ||
| 888 | DEFUN ("interactive-form", Finteractive_form, Sinteractive_form, 1, 1, 0, | 897 | DEFUN ("interactive-form", Finteractive_form, Sinteractive_form, 1, 1, 0, |
| @@ -4011,7 +4020,8 @@ syms_of_data (void) | |||
| 4011 | defsubr (&Ssubr_name); | 4020 | defsubr (&Ssubr_name); |
| 4012 | #ifdef HAVE_NATIVE_COMP | 4021 | #ifdef HAVE_NATIVE_COMP |
| 4013 | defsubr (&Ssubr_native_elisp_p); | 4022 | defsubr (&Ssubr_native_elisp_p); |
| 4014 | defsubr (&Ssubr_native_compilation_unit); | 4023 | defsubr (&Ssubr_native_comp_unit); |
| 4024 | defsubr (&Snative_comp_unit_file); | ||
| 4015 | #endif | 4025 | #endif |
| 4016 | #ifdef HAVE_MODULES | 4026 | #ifdef HAVE_MODULES |
| 4017 | defsubr (&Suser_ptrp); | 4027 | defsubr (&Suser_ptrp); |