summaryrefslogtreecommitdiff
path: root/src/comp.h
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2019-12-22 08:12:27 +0100
committerAndrea Corallo <akrl@sdf.org>2020-01-01 11:38:14 +0100
commit4c8b46514d87856e5e2044bce804ad0156097d04 (patch)
treed4c444d96c8ae5a75404a302e4c15d13a55de5aa /src/comp.h
parentc5bb62f99db4b1c70e68e7c7a30ede8227f199a3 (diff)
downloademacs-4c8b46514d87856e5e2044bce804ad0156097d04.tar.gz
some rename on compilation unit struct
Diffstat (limited to 'src/comp.h')
-rw-r--r--src/comp.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/comp.h b/src/comp.h
index 876615e8dd4..04c57278667 100644
--- a/src/comp.h
+++ b/src/comp.h
@@ -23,7 +23,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <dynlib.h>
-struct Lisp_Native_Compilation_Unit
+struct Lisp_Native_Comp_Unit
{
union vectorlike_header header;
/* Compilation unit file descriptor and handle. */
@@ -33,16 +33,16 @@ struct Lisp_Native_Compilation_Unit
};
INLINE bool
-COMPILATIONP_UNITP (Lisp_Object a)
+NATIVE_COMP_UNITP (Lisp_Object a)
{
return PSEUDOVECTORP (a, PVEC_NATIVE_COMP_UNIT);
}
-INLINE struct Lisp_Native_Compilation_Unit *
-XCOMPILATION_UNIT (Lisp_Object a)
+INLINE struct Lisp_Native_Comp_Unit *
+XNATIVE_COMP_UNIT (Lisp_Object a)
{
- eassert (COMPILATIONP_UNITP (a));
- return XUNTAG (a, Lisp_Vectorlike, struct Lisp_Native_Compilation_Unit);
+ eassert (NATIVE_COMP_UNITP (a));
+ return XUNTAG (a, Lisp_Vectorlike, struct Lisp_Native_Comp_Unit);
}
/* Defined in comp.c. */