2020-09-24 22:08:23 +00:00
|
|
|
// Do not permit default ZONE_FILLER ctor since commits are not supported from Python
|
|
|
|
%ignore ZONE_FILLER::ZONE_FILLER(BOARD*, COMMIT*);
|
2016-09-21 01:07:41 +00:00
|
|
|
|
2020-11-11 23:05:59 +00:00
|
|
|
%include zone.h
|
2016-09-21 01:07:41 +00:00
|
|
|
%include zones.h
|
2020-09-24 22:08:23 +00:00
|
|
|
|
2016-09-21 01:07:41 +00:00
|
|
|
%{
|
2020-11-11 23:05:59 +00:00
|
|
|
#include <zone.h>
|
2016-09-21 01:07:41 +00:00
|
|
|
#include <zones.h>
|
2018-08-08 19:23:32 +00:00
|
|
|
#include <zone_filler.h>
|
2016-09-21 01:07:41 +00:00
|
|
|
%}
|
|
|
|
|
2020-09-24 22:08:23 +00:00
|
|
|
// Provide a compatiblity ctor for ZONE_FILLER that doesn't need a COMMIT
|
|
|
|
%include zone_filler.h
|
|
|
|
%extend ZONE_FILLER
|
|
|
|
{
|
|
|
|
ZONE_FILLER( BOARD* aBoard )
|
|
|
|
{
|
|
|
|
return new ZONE_FILLER( aBoard, nullptr );
|
|
|
|
}
|
|
|
|
}
|