Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Universal Character Names, char16_t, and char32_t (part of C99/C11) #80

Merged
merged 5 commits into from
Feb 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ $(OBJDIR)/machdep.ml : src/machdep-ml.c configure.ac Makefile.in
@echo " sizeof_fun: int; (* Size of function *)" >> $@
@echo " size_t: string; (* Type of \"sizeof(T)\" *)" >> $@
@echo " wchar_t: string; (* Type of \"wchar_t\" *)" >> $@
@echo " char16_t: string; (* Type of \"char16_t\" *)" >> $@
@echo " char32_t: string; (* Type of \"char32_t\" *)" >> $@
@echo " alignof_short: int; (* Alignment of \"short\" *)" >> $@
@echo " alignof_int: int; (* Alignment of \"int\" *)" >> $@
@echo " alignof_bool: int; (* Alignment of \"_Bool\" *)" >> $@
Expand Down
9 changes: 9 additions & 0 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H

/* Define to 1 if you have the <uchar.h> header file. */
#undef HAVE_UCHAR_H

/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H

Expand Down Expand Up @@ -74,6 +77,12 @@
backward compatibility; new code need not use it. */
#undef STDC_HEADERS

/* Real integer type corresponding to char16_t. */
#undef TYPE_CHAR16_T

/* Real integer type corresponding to char32_t. */
#undef TYPE_CHAR32_T

/* Real integer type corresponding to size_t. */
#undef TYPE_SIZE_T

Expand Down
Loading