This reference describes unreleased code on main; no release documents it yet.

rlmesh_env_factory_make

functionExperimental#include <rlmesh.h>[source]

Stamps tags, branch parameters and reset-option keys on the made env. On RLMESH_OK exactly one of *out_env / *out_vector_env is non-NULL (the caller's) and the other is set to NULL; on any other status neither is written.

RLMeshStatus rlmesh_env_factory_make(
    RLMeshEnvFactory* factory,
    const RLMeshValue* kwargs,
    RLMeshEnv** out_env,
    RLMeshVectorEnv** out_vector_env
)