exposing RS to SWIG