Skip to content

Commit bffa6e0

Browse files
committed
Call method find_xml_generator
1 parent be9f5be commit bffa6e0

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

docs/example/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from pygccxml import utils # nopep8
1919

2020
# Find out the xml generator (gccxml or castxml)
21-
generator_path, generator_name = utils.find_cpp_parser()
21+
generator_path, generator_name = utils.find_xml_generator()
2222

2323
# Configure the xml generator
2424
config = parser.xml_generator_configuration_t(

docs/examples/caching/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from pygccxml import parser
88

99
# Find out the c++ parser
10-
generator_path, generator_name = utils.find_cpp_parser()
10+
generator_path, generator_name = utils.find_xml_generator()
1111

1212
# Configure the xml generator
1313
xml_generator_config = parser.xml_generator_configuration_t(

docs/examples/parsing/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from pygccxml import parser
88

99
# Find the location of the xml generator (castxml or gccxml)
10-
generator_path, generator_name = utils.find_cpp_parser()
10+
generator_path, generator_name = utils.find_xml_generator()
1111

1212
# Configure the xml generator
1313
xml_generator_config = parser.xml_generator_configuration_t(

docs/examples/variables/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from pygccxml import parser
88

99
# Find out the c++ parser
10-
generator_path, generator_name = utils.find_cpp_parser()
10+
generator_path, generator_name = utils.find_xml_generator()
1111

1212
# Configure the xml generator
1313
xml_generator_config = parser.xml_generator_configuration_t(

pygccxml/utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from .utils import create_temp_file_name
1616
from .utils import remove_file_no_raise
1717
from .utils import normalize_path
18-
from .utils import find_cpp_parser
18+
from .utils import find_xml_generator
1919
from .utils import get_tr1
2020

2121
# Version of xml generator which was used.

pygccxml/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def is_str(s):
2828
return isinstance(s, basestring)
2929

3030

31-
def find_cpp_parser(name=None):
31+
def find_xml_generator(name=None):
3232
"""
3333
Try to find a c++ parser. Returns path and name.
3434

unittests/autoconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
pygccxml.utils.loggers.set_level(logging.INFO)
2828

2929
# Find out the c++ parser (gccxml or castxml)
30-
generator_path, generator_name = pygccxml.utils.find_cpp_parser()
30+
generator_path, generator_name = pygccxml.utils.find_xml_generator()
3131

3232
pygccxml.declarations.class_t.USE_DEMANGLED_AS_NAME = True
3333

0 commit comments

Comments
 (0)