moved baton struct definitions in platform.cpp