From 119028da59ea210979cb597cf0f02c7d874e45c9 Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Fri, 27 Oct 2023 11:26:03 +0300 Subject: [PATCH] Removing obsolete stuff --- src/bind.inc.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/bind.inc.php b/src/bind.inc.php index 04253f2..43b9301 100644 --- a/src/bind.inc.php +++ b/src/bind.inc.php @@ -117,17 +117,6 @@ function prepare_meta(\mtgMetaInfo $orig) return $meta; } -function find_struct_plugin(array $plugins, $unit) -{ - foreach($plugins as $plugin) - { - if($plugin instanceof BindStructOverridePlugin && - $plugin->supports($unit)) - return $plugin; - } - return null; -} - function add_twig_support(\Twig\Environment $twig) { $twig->addFunction(new \Twig\TwigFunction('plugins_codegen_decls',