Commits

wlav committed 8337455

use backend specific name for class "std::string" directly

  • Participants
  • Parent commits ec0b868
  • Branches reflex-support

Comments (0)

Files changed (1)

pypy/module/cppyy/converter.py

 
     def __init__(self, space, extra):
         from pypy.module.cppyy import interp_cppyy
-        cppclass = interp_cppyy.scope_byname(space, "std::string")
+        cppclass = interp_cppyy.scope_byname(space, capi.std_string_name)
         InstanceConverter.__init__(self, space, cppclass)
 
     def _unwrap_object(self, space, w_obj):
 
     def __init__(self, space, extra):
         from pypy.module.cppyy import interp_cppyy
-        cppclass = interp_cppyy.scope_byname(space, "std::string")
+        cppclass = interp_cppyy.scope_byname(space, capi.std_string_name)
         InstancePtrConverter.__init__(self, space, cppclass)