You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I'm working on Rust bindings for librealsense2. I noticed all functions defined in rsutil.h
are static. It would be a trouble to generate FFI for static functions. Because static functions are limited to its object file, they cannot be linked by outer programs. I think it's not necessary to place static there since they are somewhat public to C/C++. Removing static would give convenience for building other language bindings.
The text was updated successfully, but these errors were encountered:
Issue Description
Currently I'm working on Rust bindings for librealsense2. I noticed all functions defined in rsutil.h
are static. It would be a trouble to generate FFI for static functions. Because static functions are limited to its object file, they cannot be linked by outer programs. I think it's not necessary to place
static
there since they are somewhat public to C/C++. Removingstatic
would give convenience for building other language bindings.The text was updated successfully, but these errors were encountered: