Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate JSTypeTraits by macro functions (#123)
Generate JSTypeTraits by macro functions In the future, we can auto-generate js_type_traits during bacardi build time by using some information of types with template. e.g types = { 'Number': { int32_t, int64_t, float, long . . }, 'String': { char*, std::string, . } } And this is the just pseudo code for concept. if type in types['Number']: generate("JS_TYPE_TRAITS_NUMBER("+type+")"); if type in types['String']: generate("JS_TYPE_TRAITS_STRING("+type+")"); ISSUE=#120
- Loading branch information