Merge pull request #1434 from traversaro:patch-32
PiperOrigin-RevId: 611046247 Change-Id: I05fa95c13c9c0a9bf5b6b50bb3d201ffbc556dd6
This commit is contained in:
@@ -401,7 +401,7 @@ the callbacks:
|
||||
|
||||
.. code-block:: C
|
||||
|
||||
int data_open_callback(mjResource* resource) {
|
||||
int str_open_callback(mjResource* resource) {
|
||||
// call some util function to validate
|
||||
if (!is_valid_data_uri(resource->name)) {
|
||||
return 0; // return failure
|
||||
|
||||
Reference in New Issue
Block a user