Skip to content

Commit

Permalink
Merge pull request #80 from goblint/universal-character-names
Browse files Browse the repository at this point in the history
Support for Universal Character Names, `char16_t`, and `char32_t` (part of C99/C11)
  • Loading branch information
michael-schwarz authored Feb 18, 2022
2 parents a4e3e80 + 61b65e5 commit beab54d
Show file tree
Hide file tree
Showing 18 changed files with 1,125 additions and 109 deletions.
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

0 comments on commit beab54d

Please sign in to comment.