StaTcl.i factor tcl typedefs into StaTclTypes.i

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2024-01-09 21:00:00 -08:00
parent 22557a5c4e
commit 9b79629a53
6 changed files with 1372 additions and 1347 deletions

View File

@ -332,6 +332,7 @@ set(SWIG_FILES
${STA_HOME}/sdf/Sdf.i ${STA_HOME}/sdf/Sdf.i
${STA_HOME}/tcl/Exception.i ${STA_HOME}/tcl/Exception.i
${STA_HOME}/tcl/StaTcl.i ${STA_HOME}/tcl/StaTcl.i
${STA_HOME}/tcl/StaTclTypes.i
${STA_HOME}/tcl/NetworkEdit.i ${STA_HOME}/tcl/NetworkEdit.i
${STA_HOME}/verilog/Verilog.i ${STA_HOME}/verilog/Verilog.i
) )

View File

@ -17,6 +17,7 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>. // along with this program. If not, see <https://www.gnu.org/licenses/>.
%include "Exception.i" %include "Exception.i"
%include "StaTclTypes.i"
%include "StaTcl.i" %include "StaTcl.i"
%include "Verilog.i" %include "Verilog.i"
%include "NetworkEdit.i" %include "NetworkEdit.i"

View File

@ -13,15 +13,17 @@
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>. // along with this program. If not, see <https://www.gnu.org/licenses/>.
#pragma once #pragma once
#include <set>
#include "StringUtil.hh" #include "StringUtil.hh"
#include "Set.hh" #include "Set.hh"
namespace sta { namespace sta {
typedef Set<const char*, CharPtrLess> StringSet; typedef Set<const char*, CharPtrLess> StringSet;
typedef std::set<string> StdStringSet;
void void
deleteContents(StringSet *strings); deleteContents(StringSet *strings);

View File

@ -19,13 +19,13 @@
#include <string> #include <string>
#include <set> #include <set>
#include "StringSet.hh"
namespace sta { namespace sta {
using std::string; using std::string;
using std::set; using std::set;
typedef set<string> StdStringSet;
class Path; class Path;
class StaState; class StaState;

File diff suppressed because it is too large Load Diff

1365
tcl/StaTclTypes.i Normal file

File diff suppressed because it is too large Load Diff