dwww Home | Show directory contents | Find package

%module inherit_same_name

%inline %{
  struct Base {
    Base() : MethodOrVariable(0) {}
    virtual ~Base() {}
  protected:
    int MethodOrVariable;
  };
  struct Derived : Base {
    virtual void MethodOrVariable() { Base::MethodOrVariable = 10; }
  };
  struct Bottom : Derived {
    void MethodOrVariable() {}
  };
%}

Generated by dwww version 1.15 on Tue Jul 2 00:42:58 CEST 2024.