Disallow variable-length arrays and turn on -Wpedantic in Clang and GCC.
PiperOrigin-RevId: 562832747 Change-Id: I0532624cee31e089a47426305d885687eb0fc5c5
This commit is contained in:
committed by
Copybara-Service
parent
8ffdee355a
commit
329ed193ac
@@ -32,10 +32,10 @@ MJAPI int mjp_registerPlugin(const mjpPlugin* plugin);
|
||||
MJAPI int mjp_registerResourceProvider(const mjpResourceProvider* provider);
|
||||
|
||||
// return the number of globally registered plugins
|
||||
MJAPI int mjp_pluginCount();
|
||||
MJAPI int mjp_pluginCount(void);
|
||||
|
||||
// return the number of globally registered resource providers
|
||||
MJAPI int mjp_resourceProviderCount();
|
||||
MJAPI int mjp_resourceProviderCount(void);
|
||||
|
||||
// look up a plugin by name, optionally also get its registered slot number
|
||||
MJAPI const mjpPlugin* mjp_getPlugin(const char* name, int* slot);
|
||||
|
||||
Reference in New Issue
Block a user