google-deepmind / google-deepmind/mujoco

mj_loadPluginLibrary should return the handle to the loaded library

Open
#2,130 2 comments 0 reactions 1 assignee Claimed by @saran-t View on GitHub
enhancement
Dominant language
C++
Stars
15.2k
Forks
1.8k
Avg merge
10d 16h
Merged PRs (30d)
25

Description

### The feature, motivation and pitch

Currently mj_loadPluginLibrary returns void. It would be helpful if it returned the void * handle to the loaded library as returned by dlopen (Or the win32 equivalent) . This would allow applications to fail early if the library file is not found at the given location.

### Alternatives

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.