wlav / cppyy-backend

23 stars 27 forks source link

fix single namespace limitation for pythonization via cmake generator #7

Closed tomtana closed 1 year ago

tomtana commented 1 year ago

With the current implementation it is not possible to add pythonizations for nested namespaces. The proposed fix joins the remaining tokens with "::" to register the nested namespace.

wlav commented 1 year ago

Thanks! I actually never used the cmake generator. :) It was contributed and I haven't had the time (or need) yet to use it in anger.