Added "static inline" statements

Fixed link errors for projects larger than "Hello world"
Added a BSD license since you have not specified one. (at least, it will be BSD for my fork).

P.S. I wanted to create a library project for iOS but then I discovered there was no code to link (as everything was in the header). Please consider moving your function implementations to *.cpp file.