MSVC doesn't inmplement C99, so can't use the inline keyword. __inline appears to work in MSVC and GCC.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>