Changeset View
Changeset View
Standalone View
Standalone View
find-modules/sip_generator.py
Show First 20 Lines • Show All 764 Lines • ▼ Show 20 Line(s) | 764 | if not text: | |||
---|---|---|---|---|---|
765 | text = child.displayname or child.spelling | 765 | text = child.displayname or child.spelling | ||
766 | logger.debug(_("Ignoring {} {} child {}").format(parent.kind.name, parent.spelling, SipGenerator.describe(child, text))) | 766 | logger.debug(_("Ignoring {} {} child {}").format(parent.kind.name, parent.spelling, SipGenerator.describe(child, text))) | ||
767 | 767 | | |||
768 | 768 | | |||
769 | def main(argv=None): | 769 | def main(argv=None): | ||
770 | """ | 770 | """ | ||
771 | Take a single C++ header file and generate the corresponding SIP file. | 771 | Take a single C++ header file and generate the corresponding SIP file. | ||
772 | Beyond simple generation of the SIP file from the corresponding C++ | 772 | Beyond simple generation of the SIP file from the corresponding C++ | ||
773 | header file, a set of rules can be used to customise the generated | 773 | header file, a set of rules can be used to customize the generated | ||
774 | SIP file. | 774 | SIP file. | ||
775 | 775 | | |||
776 | Examples: | 776 | Examples: | ||
777 | 777 | | |||
778 | sip_generator.py /usr/include/KF5/KItemModels/kselectionproxymodel.h | 778 | sip_generator.py /usr/include/KF5/KItemModels/kselectionproxymodel.h | ||
779 | """ | 779 | """ | ||
780 | if argv is None: | 780 | if argv is None: | ||
781 | argv = sys.argv | 781 | argv = sys.argv | ||
Show All 38 Lines |