C-generated code functions not exported


In acados python interfaces,

getattr(self.shared_lib, f"{model.name}_acados_create_capsule").restype = c_void_p

is used. However, as I have seen, in the generated file the functions were not exported, and the xxx_capsule cannot be found. Only model-related functions are exported in the .so shared library.

The function is in the file generated from this template:

Yes. But it is not exported and is invisible to python nor to shared lib exported-function viewer. Only the casadi func in the model folder can be seen. Is this a problem?