summaryrefslogtreecommitdiff
path: root/tests/run/cpp_nested_names.pxd
blob: 04b5f8f972ff9b3e2a5fa382e09a5de08241ee8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# cython: language_level=3

from libcpp.string cimport string

cdef extern from "cpp_nested_names_helper.h":
    cdef cppclass Outer:
        cppclass Nested:
            cppclass NestedNested:
                string get_str()

            string get_str()

            @staticmethod
            NestedNested get()

        @staticmethod
        Nested get()