Skip to content

Commit da87dbf

Browse files
author
Nicholas Reed
committed
use scl_memmgr in clstepcore; SCL git 245ff14
1 parent b8ae516 commit da87dbf

24 files changed

+29
-7
lines changed

src/clstepcore/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,13 @@ SET(LIBSTEPCORE_PRIVATE_HDRS
5454

5555
include_directories(
5656
${CMAKE_CURRENT_SOURCE_DIR}
57+
${SCL_SOURCE_DIR}/src/base
5758
${SCL_SOURCE_DIR}/src/cldai
5859
${SCL_SOURCE_DIR}/src/cleditor
5960
${SCL_SOURCE_DIR}/src/clutils
6061
)
6162

62-
SCL_ADDLIB(stepcore "${LIBSTEPCORE_SRCS}" "express;steputils;stepdai")
63+
SCL_ADDLIB(stepcore "${LIBSTEPCORE_SRCS}" "express;steputils;stepdai;base")
6364
if(APPLE)
6465
set_target_properties(stepcore PROPERTIES LINK_FLAGS "-flat_namespace -undefined suppress")
6566
endif(APPLE)

src/clstepcore/ExpDict.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#include <ExpDict.h>
2020
#include <STEPaggregate.h>
21+
#include "scl_memmgr.h"
2122

2223

2324
Explicit_item_id__set::Explicit_item_id__set( int defaultSize ) {

src/clstepcore/ExpDict.inline.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*/
1212

1313
#include <ExpDict.h>
14+
#include "scl_memmgr.h"
1415

1516
Dictionary_instance::~Dictionary_instance() {
1617
}

src/clstepcore/Registry.inline.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include <ExpDict.h>
1313
#include <Registry.h>
14+
#include "scl_memmgr.h"
1415

1516
const TypeDescriptor * t_sdaiINTEGER;
1617
const TypeDescriptor * t_sdaiREAL;

src/clstepcore/STEPaggregate.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <STEPattribute.h>
1818
#include <instmgr.h>
1919
#include <ExpDict.h>
20+
#include "scl_memmgr.h"
2021

2122
const int Real_Num_Precision = REAL_NUM_PRECISION; // from STEPattribute.h
2223

src/clstepcore/STEPattribute.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <STEPaggregate.h>
2121
#include <ExpDict.h>
2222
#include <sdai.h>
23-
23+
#include "scl_memmgr.h"
2424

2525
// REAL_NUM_PRECISION is defined in STEPattribute.h, and is also used
2626
// in aggregate real handling (STEPaggregate.cc) -- IMS 6 Jun 95

src/clstepcore/STEPattribute.inline.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <STEPattribute.h>
1515
#include <sdai.h>
1616
#include <ExpDict.h>
17+
#include "scl_memmgr.h"
1718

1819
/// This is needed so that STEPattribute's can be passed as references to inline functions
1920
STEPattribute::STEPattribute( const STEPattribute & a )

src/clstepcore/STEPattributeList.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
#include <STEPattributeList.h>
1616
#include <STEPattribute.h>
17+
#include "scl_memmgr.h"
1718

1819
//#include <stdlib.h>
1920

src/clstepcore/STEPcomplex.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <complexSupport.h>
66
#include <STEPattribute.h>
77
#include <sstream>
8+
#include "scl_memmgr.h"
89

910
extern const char *
1011
ReadStdKeyword( istream & in, std::string & buf, int skipInitWS );

src/clstepcore/STEPundefined.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <stdio.h> // to get the BUFSIZ #define
1616
#include <STEPundefined.h>
1717
#include <STEPattribute.h>
18-
18+
#include "scl_memmgr.h"
1919

2020
/******************************************************************
2121
** helping functions for reading unknown types **/

0 commit comments

Comments
 (0)