[PATCH] Add swig hint for devices_t objects