1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +01:00

Fix function definitions to match their declarations

This makes sure every function is properly declared, which includes
proper `extern` wrappers.
This commit is contained in:
Michał Janiszewski
2016-07-13 00:46:51 +02:00
parent 5204fb0ce9
commit a6d0e6916e
79 changed files with 413 additions and 352 deletions

View File

@@ -79,7 +79,12 @@ interface IObjectRepository
IObjectRepository * GetObjectRepository();
#else
#endif
#ifdef __cplusplus
extern "C"
{
#endif
size_t object_repository_get_items_count();
const ObjectRepositoryItem * object_repository_get_items();
@@ -92,6 +97,8 @@ const utf8 * object_get_description(const void * object);
const utf8 * object_get_capacity(const void * object);
void object_draw_preview(const void * object, rct_drawpixelinfo * dpi, sint32 width, sint32 height);
#ifdef __cplusplus
}
#endif
enum ORI_RIDE_FLAG