Fix typos.

PiperOrigin-RevId: 516135725
Change-Id: I094f6af5d3ef8dd6a93430c09c61f29c23f55e02
This commit is contained in:
Yuval Tassa
2023-03-13 01:01:00 -07:00
committed by Copybara-Service
parent c57a588ab5
commit 2f03da740a
3 changed files with 12 additions and 12 deletions
+4 -4
View File
@@ -1841,7 +1841,7 @@ mju_error_i
.. mujoco-include:: mju_error_i .. mujoco-include:: mju_error_i
Deprecated: use mju_error Deprecated: use mju_error.
.. _mju_error_s: .. _mju_error_s:
@@ -1850,7 +1850,7 @@ mju_error_s
.. mujoco-include:: mju_error_s .. mujoco-include:: mju_error_s
Deprecated: use mju_error Deprecated: use mju_error.
.. _mju_warning: .. _mju_warning:
@@ -1868,7 +1868,7 @@ mju_warning_i
.. mujoco-include:: mju_warning_i .. mujoco-include:: mju_warning_i
Deprecated: use mju_warning Deprecated: use mju_warning.
.. _mju_warning_s: .. _mju_warning_s:
@@ -1877,7 +1877,7 @@ mju_warning_s
.. mujoco-include:: mju_warning_s .. mujoco-include:: mju_warning_s
Deprecated: use_mju_warning Deprecated: use mju_warning.
.. _mju_clearHandlers: .. _mju_clearHandlers:
+4 -4
View File
@@ -740,19 +740,19 @@ MJAPI void mjui_render(mjUI* ui, const mjuiState* state, const mjrContext* con);
// Main error function; does not return to caller. // Main error function; does not return to caller.
MJAPI void mju_error(const char* msg, ...) mjPRINTFLIKE(1, 2); MJAPI void mju_error(const char* msg, ...) mjPRINTFLIKE(1, 2);
// Deprecated: use mju_error // Deprecated: use mju_error.
MJAPI void mju_error_i(const char* msg, int i); MJAPI void mju_error_i(const char* msg, int i);
// Deprecated: use mju_error // Deprecated: use mju_error.
MJAPI void mju_error_s(const char* msg, const char* text); MJAPI void mju_error_s(const char* msg, const char* text);
// Main warning function; returns to caller. // Main warning function; returns to caller.
MJAPI void mju_warning(const char* msg, ...) mjPRINTFLIKE(1, 2); MJAPI void mju_warning(const char* msg, ...) mjPRINTFLIKE(1, 2);
// Deprecated: use mju_warning // Deprecated: use mju_warning.
MJAPI void mju_warning_i(const char* msg, int i); MJAPI void mju_warning_i(const char* msg, int i);
// Deprecated: use_mju_warning // Deprecated: use mju_warning.
MJAPI void mju_warning_s(const char* msg, const char* text); MJAPI void mju_warning_s(const char* msg, const char* text);
// Clear user error and memory handlers. // Clear user error and memory handlers.
+4 -4
View File
@@ -4674,7 +4674,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
type=ValueType(name='int'), type=ValueType(name='int'),
), ),
), ),
doc='Deprecated: use mju_error', doc='Deprecated: use mju_error.',
)), )),
('mju_error_s', ('mju_error_s',
FunctionDecl( FunctionDecl(
@@ -4694,7 +4694,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
), ),
), ),
), ),
doc='Deprecated: use mju_error', doc='Deprecated: use mju_error.',
)), )),
('mju_warning', ('mju_warning',
FunctionDecl( FunctionDecl(
@@ -4726,7 +4726,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
type=ValueType(name='int'), type=ValueType(name='int'),
), ),
), ),
doc='Deprecated: use mju_warning', doc='Deprecated: use mju_warning.',
)), )),
('mju_warning_s', ('mju_warning_s',
FunctionDecl( FunctionDecl(
@@ -4746,7 +4746,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
), ),
), ),
), ),
doc='Deprecated: use_mju_warning', doc='Deprecated: use mju_warning.',
)), )),
('mju_clearHandlers', ('mju_clearHandlers',
FunctionDecl( FunctionDecl(