Fixes to documentation:

1. Cleaned up changelog, fixed some typos, removed nested admonitions.
2. Added missing documentation for `mjfResourceModified` function type.

PiperOrigin-RevId: 562859015
Change-Id: I34dc4f3131561cbe95be3127e6e318cc4b803a24
This commit is contained in:
Yuval Tassa
2023-09-05 12:35:41 -07:00
committed by Copybara-Service
parent 4929077211
commit ba66bd4f8b
3 changed files with 24 additions and 16 deletions
+14
View File
@@ -1174,6 +1174,20 @@ mjfGetResourceDir
This callback is for returning the directory of a resource, by setting dir to the directory string with ndir being size
of directory string.
.. _mjfResourceModified:
mjfResourceModified
~~~~~~~~~~~~~~~~~~~
.. code-block:: C
typedef int (*mjfResourceModified)(const mjResource* resource);
This callback is for checking if a resource was modified since it was last read.
Returns positive value if the resource was modified since last open, 0 if resource was not modified,
and negative value if inconclusive.
.. _tyNotes:
Notes