Initial file move, testing iOS build.
Fixing #ifdef-s
Factored out api.h.
Starting to factor out Apple API.
Wrapped Apple impl into an extendable shell.
Should work on Mac now.
Apple .mm -> .nm
Condensed Apple implementation a bit.
Does not compile on Linux, but should on Mac.
Confirmed compilation on Mac.
Added empty api_posix.h. Compiles on Linux.
An attemt to strip Apple implentation.
CR: Newline.
CR: Comment.
CR: Remove was_redirected.
CR: Const method.
CR: Const method.
CR: One less exception.
CR: mv api_apple.nm api_apple.mm.
CR: Another check in .mm