diff options
author | Determinant <tederminant@gmail.com> | 2019-06-03 17:30:01 -0400 |
---|---|---|
committer | Determinant <tederminant@gmail.com> | 2019-06-03 17:30:01 -0400 |
commit | 9f294eb2e0ae0bed8120fc34fd9782f2f0a9ac74 (patch) | |
tree | d5005c9888874bd2b169fcd51418a3fab36fe631 /include/salticidae/type.h | |
parent | 9ec5a371f5c05fda8ddeac3470be6fc5c67d44e9 (diff) |
WIP: C bindings
Diffstat (limited to 'include/salticidae/type.h')
-rw-r--r-- | include/salticidae/type.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/salticidae/type.h b/include/salticidae/type.h index 68deeb0..3ec202a 100644 --- a/include/salticidae/type.h +++ b/include/salticidae/type.h @@ -89,4 +89,10 @@ inline auto generic_bind(ReturnType(ClassType::* f)(Args...), FArgs&&... fargs) } +#ifdef SALTICIDAE_CBINDINGS_STR_OP +using _opcode_t = std::string; +#else +using _opcode_t = uint8_t; +#endif + #endif |