Skip to content

Bindings generator needs basic #if support #12972

@alalek

Description

@alalek

Headers parser is broken by pre-processor #if

Python generator emits warnings:

[1/1] Generate files for Python bindings and documentation
Note: Class Feature2D has more than 1 base class (not supported by Python C extensions)
      Bases:  cv::Algorithm, cv::class, cv::Feature2D, cv::Algorithm
      Only the first base class will be used

It tries to parse this statement:

class CV_EXPORTS_W Feature2D : public Algorithm class CV_EXPORTS_W Feature2D : public virtual Algorithm

This is wrong.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions