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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user