Ignore:
Timestamp:
Nov 20, 2017, 12:12:34 PM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
fdd3786
Parents:
b7f8cb4
Message:

Added generic containers for runtime.
Moved some internal code to bits folder.
consistently used cforall instead of CFORALL define.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/bits/defs.h

    rb7f8cb4 r0cf5b79  
    1717
    1818#include <stdbool.h>
     19#include <stddef.h>
    1920#include <stdint.h>
    2021
     
    2223#define likely  (x)    __builtin_expect(!!(x), 1)
    2324#define thread_local _Thread_local
     25
     26typedef void (*fptr_t)();
     27typedef int_fast16_t __lock_size_t;
     28
     29#ifdef __cforall
     30#define __cfa_anonymous_object
     31#else
     32#define __cfa_anonymous_object __cfa_anonymous_object
     33#endif
Note: See TracChangeset for help on using the changeset viewer.