#ifndef __SCC_UTILS_AP_H__ #define __SCC_UTILS_AP_H__ #include #define __AP_SCC__ #include static inline void scc_ap_from_str(scc_ap_t *ap, scc_str_t *str, int base) { scc_ap_from_string(ap, scc_vec_unsafe_get_data(*str), scc_vec_size(*str), base); } static inline void scc_ap_from_cstr(scc_ap_t *ap, const char *str, int base) { scc_ap_from_string(ap, str, scc_strlen(str), base); } #endif /* __SCC_UTILS_AP_H__ */