Changeset 7aa257ae


Ignore:
Timestamp:
Sep 13, 2017, 3:06:16 PM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
513e165
Parents:
4639b0d
Message:

add typedefs for char16_t, char32_t, and wchar_t to extras.cf

Location:
src/prelude
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/prelude/extras.c

    r4639b0d r7aa257ae  
    1 #include <stddef.h>
    2 #include <stdlib.h>
    3 #include <stdio.h>
     1#include <stddef.h>                                     // size_t, ptrdiff_t
     2#include <uchar.h>                                      // char16_t, char32_t
     3#include <wchar.h>                                      // wchar_t
     4#include <stdlib.h>                                     // malloc, free, exit, atexit, abort
     5#include <stdio.h>                                      // printf
  • src/prelude/extras.regx

    r4639b0d r7aa257ae  
    11typedef.* size_t;
    22typedef.* ptrdiff_t;
     3typedef.* char16_t;
     4typedef.* char32_t;
     5typedef.* wchar_t;
     6extern.*\*malloc\(.*\).*
     7extern.* free\(.*\).*
     8extern.* exit\(.*\).*
     9extern.* atexit\(.*\).*
    310extern.* abort\(.*\).*
    4 extern.* atexit\(.*\).*
    5 extern.* exit\(.*\).*
    6 extern.* free\(.*\).*
    7 extern.*\*malloc\(.*\).*
    811extern.* printf\(.*\).*
Note: See TracChangeset for help on using the changeset viewer.