Line
Link Here
|
0 |
-- inc/TColStd_ListOfInteger.hxx 2005-11-10 23:29:54.000000000 +0100 |
0 |
++ inc/TColStd_ListOfInteger.hxx 2005-11-10 23:30:08.000000000 +0100 |
Lines 109-115
Link Here
|
109 |
// |
109 |
// |
110 |
|
110 |
|
111 |
|
111 |
|
112 |
private: |
112 |
public: |
113 |
|
113 |
|
114 |
// Methods PRIVATE |
114 |
// Methods PRIVATE |
115 |
// |
115 |
// |
116 |
-- inc/Extrema_SequenceOfPOnCurv.hxx 2005-11-10 23:16:59.000000000 +0100 |
116 |
++ inc/Extrema_SequenceOfPOnCurv.hxx 2005-11-10 23:17:07.000000000 +0100 |
Lines 116-122
Link Here
|
116 |
// |
116 |
// |
117 |
private: |
117 |
public: |
118 |
// Methods PRIVATE |
118 |
// Methods PRIVATE |
119 |
// |
119 |
// |
120 |
-- inc/GeomFill_SequenceOfTrsf.hxx 2005-11-10 23:21:48.000000000 +0100 |
120 |
++ inc/GeomFill_SequenceOfTrsf.hxx 2005-11-10 23:22:01.000000000 +0100 |
Lines 116-122
Link Here
|
116 |
// |
116 |
// |
117 |
private: |
117 |
public: |
118 |
// Methods PRIVATE |
118 |
// Methods PRIVATE |
119 |
// |
119 |
// |
120 |
-- inc/HLRBRep_ListOfBPoint.hxx 2005-11-11 10:30:44.000000000 +0100 |
120 |
++ inc/HLRBRep_ListOfBPoint.hxx 2005-11-11 10:30:57.000000000 +0100 |
Lines 110-116
Link Here
|
110 |
// |
110 |
// |
111 |
private: |
111 |
public: |
112 |
// Methods PRIVATE |
112 |
// Methods PRIVATE |
113 |
// |
113 |
// |
114 |
-- inc/Extrema_SequenceOfPOnCurv2d.hxx 2005-11-10 23:11:14.000000000 +0100 |
114 |
++ inc/Extrema_SequenceOfPOnCurv2d.hxx 2005-11-10 23:11:32.000000000 +0100 |
Lines 116-122
Link Here
|
116 |
// |
116 |
// |
117 |
private: |
117 |
public: |
118 |
// Methods PRIVATE |
118 |
// Methods PRIVATE |
119 |
// |
119 |
// |
120 |
-- inc/WOKTCL_DefaultCommand.hxx 2005-11-10 23:38:02.000000000 +0100 |
120 |
++ inc/WOKTCL_DefaultCommand.hxx 2005-11-10 23:39:12.000000000 +0100 |
Lines 16-22
Link Here
|
16 |
Standard_Integer DefaultCommand(ClientData , Tcl_Interp *, |
16 |
Standard_Integer DefaultCommand(ClientData , Tcl_Interp *, |
17 |
Standard_Integer , char* []); |
17 |
Standard_Integer , const char* []); |
18 |
void DefaultCommandDelete (ClientData ); |
18 |
void DefaultCommandDelete (ClientData ); |
19 |
-- inc/Extrema_SequenceOfPOnSurf.hxx 2005-11-10 23:18:49.000000000 +0100 |
19 |
++ inc/Extrema_SequenceOfPOnSurf.hxx 2005-11-10 23:18:58.000000000 +0100 |
Lines 116-122
Link Here
|
116 |
// |
116 |
// |
117 |
private: |
117 |
public: |
118 |
// Methods PRIVATE |
118 |
// Methods PRIVATE |
119 |
// |
119 |
// |
120 |
-- inc/Draw_PluginMacro.hxx 2005-11-11 10:37:20.000000000 +0100 |
120 |
++ inc/Draw_PluginMacro.hxx 2005-11-11 10:37:32.000000000 +0100 |
Lines 17-23
Link Here
|
17 |
#define DPLUGIN(name) \ |
17 |
#define DPLUGIN(name) \ |
18 |
extern "C" {Standard_EXPORT void PLUGINFACTORY(Draw_Interpretor&);} \ |
18 |
extern "C" {Standard_EXPORT void PLUGINFACTORY(Draw_Interpretor&);} \ |
19 |
void PLUGINFACTORY(Draw_Interpretor& theDI) { \ |
19 |
void PLUGINFACTORY(Draw_Interpretor& theDI) { \ |
20 |
name##::Factory(theDI);} \ |
20 |
name::Factory(theDI);} \ |
21 |
\ |
21 |
\ |
22 |
#endif |
22 |
#endif |
23 |
-- inc/Plugin_Macro.hxx 2005-11-12 11:50:27.000000000 +0100 |
23 |
++ inc/Plugin_Macro.hxx 2005-11-12 11:50:35.000000000 +0100 |
Lines 18-24
Link Here
|
18 |
#define PLUGIN(name) \ |
18 |
#define PLUGIN(name) \ |
19 |
extern "C" {Standard_EXPORT Handle(Standard_Transient) PLUGINFACTORY(const Standard_GUID&);} \ |
19 |
extern "C" {Standard_EXPORT Handle(Standard_Transient) PLUGINFACTORY(const Standard_GUID&);} \ |
20 |
Handle(Standard_Transient) PLUGINFACTORY(const Standard_GUID& aGUID) { \ |
20 |
Handle(Standard_Transient) PLUGINFACTORY(const Standard_GUID& aGUID) { \ |
21 |
return name##::Factory(aGUID);}\ |
21 |
return name::Factory(aGUID);}\ |
22 |
\ |
22 |
\ |
23 |
#endif |
23 |
#endif |
24 |
-- inc/AIS2D_DataMapOfPrimAspects.hxx 2005-11-11 00:29:21.000000000 +0100 |
24 |
++ inc/AIS2D_DataMapOfPrimAspects.hxx 2005-11-11 00:29:36.000000000 +0100 |
Lines 118-124
Link Here
|
118 |
// |
118 |
// |
119 |
private: |
119 |
public: |
120 |
// Methods PRIVATE |
120 |
// Methods PRIVATE |
121 |
// |
121 |
// |
122 |
-- inc/TColgp_SequenceOfPnt.hxx 2005-11-10 23:39:22.000000000 +0100 |
122 |
++ inc/TColgp_SequenceOfPnt.hxx 2005-11-10 23:39:39.000000000 +0100 |
Lines 116-122
Link Here
|
116 |
// |
116 |
// |
117 |
private: |
117 |
public: |
118 |
// Methods PRIVATE |
118 |
// Methods PRIVATE |
119 |
// |
119 |
// |
120 |
-- inc/Prs2d_DataMapOfAspectRoot.hxx 2005-11-11 00:41:31.000000000 +0100 |
120 |
++ inc/Prs2d_DataMapOfAspectRoot.hxx 2005-11-11 00:41:42.000000000 +0100 |
Lines 114-120
Link Here
|
114 |
// |
114 |
// |
115 |
private: |
115 |
public: |
116 |
// Methods PRIVATE |
116 |
// Methods PRIVATE |
117 |
// |
117 |
// |
118 |
-- inc/Extrema_SeqPCOfPCFOfEPCOfExtPC2d.hxx 2005-11-10 23:13:16.000000000 |
118 |
0100 |
|
|
119 |
++ inc/Extrema_SeqPCOfPCFOfEPCOfExtPC2d.hxx 2005-11-10 23:13:25.000000000 |
120 |
0100 |
Lines 116-122
Link Here
|
116 |
// |
116 |
// |
117 |
private: |
117 |
public: |
118 |
// Methods PRIVATE |
118 |
// Methods PRIVATE |
119 |
// |
119 |
// |
120 |
-- inc/BRepBlend_SequenceOfPointOnRst.hxx 2005-11-11 00:09:03.000000000 +0100 |
120 |
++ inc/BRepBlend_SequenceOfPointOnRst.hxx 2005-11-11 00:09:13.000000000 +0100 |
Lines 116-122
Link Here
|
116 |
// |
116 |
// |
117 |
private: |
117 |
public: |
118 |
// Methods PRIVATE |
118 |
// Methods PRIVATE |
119 |
// |
119 |
// |
120 |
-- inc/Extrema_SeqPCOfPCFOfEPCOfExtPC.hxx 2005-11-10 23:20:11.000000000 +0100 |
120 |
++ inc/Extrema_SeqPCOfPCFOfEPCOfExtPC.hxx 2005-11-10 23:20:19.000000000 +0100 |
Lines 116-122
Link Here
|
116 |
// |
116 |
// |
117 |
private: |
117 |
public: |
118 |
// Methods PRIVATE |
118 |
// Methods PRIVATE |
119 |
// |
119 |
// |
120 |
-- inc/TColgp_Array1OfPnt2d.hxx 2005-11-11 08:29:40.000000000 +0100 |
120 |
++ inc/TColgp_Array1OfPnt2d.hxx 2005-11-11 08:29:54.000000000 +0100 |
Lines 110-116
Link Here
|
110 |
// |
110 |
// |
111 |
private: |
111 |
public: |
112 |
// Methods PRIVATE |
112 |
// Methods PRIVATE |
113 |
// |
113 |
// |
114 |
-- inc/TDF_IDMap.hxx 2005-11-11 09:35:06.000000000 +0100 |
114 |
++ inc/TDF_IDMap.hxx 2005-11-11 09:35:13.000000000 +0100 |
Lines 97-103
Link Here
|
97 |
// |
97 |
// |
98 |
private: |
98 |
public: |
99 |
// Methods PRIVATE |
99 |
// Methods PRIVATE |
100 |
// |
100 |
// |
101 |
-- inc/TColStd_MapOfInteger.hxx 2005-11-10 23:30:35.000000000 +0100 |
101 |
++ inc/TColStd_MapOfInteger.hxx 2005-11-10 23:30:44.000000000 +0100 |
Lines 97-103
Link Here
|
97 |
// |
97 |
// |
98 |
private: |
98 |
public: |
99 |
// Methods PRIVATE |
99 |
// Methods PRIVATE |
100 |
// |
100 |
// |
101 |
-- inc/TColStd_SequenceOfReal.hxx 2005-11-10 23:02:40.000000000 +0100 |
101 |
++ inc/TColStd_SequenceOfReal.hxx 2005-11-10 23:02:56.000000000 +0100 |
Lines 118-124
Link Here
|
118 |
// |
118 |
// |
119 |
private: |
119 |
public: |
120 |
// Methods PRIVATE |
120 |
// Methods PRIVATE |
121 |
// |
121 |
// |
122 |
-- inc/PCDM_ReferenceIterator.hxx 2005-11-11 09:29:42.000000000 +0100 |
122 |
++ inc/PCDM_ReferenceIterator.hxx 2005-11-11 09:29:56.000000000 +0100 |
Lines 101-107
Link Here
|
101 |
// |
101 |
// |
102 |
private: |
102 |
public: |
103 |
// Methods PRIVATE |
103 |
// Methods PRIVATE |
104 |
// |
104 |
// |
105 |
-- inc/BRepCheck_ListOfStatus.hxx 2005-11-10 23:34:50.000000000 +0100 |
105 |
++ inc/BRepCheck_ListOfStatus.hxx 2005-11-10 23:35:32.000000000 +0100 |
Lines 112-118
Link Here
|
112 |
// |
112 |
// |
113 |
private: |
113 |
public: |
114 |
// Methods PRIVATE |
114 |
// Methods PRIVATE |
115 |
// |
115 |
// |
116 |
-- inc/TColStd_SequenceOfHAsciiString.hxx 2005-11-11 13:15:30.000000000 +0100 |
116 |
++ inc/TColStd_SequenceOfHAsciiString.hxx 2005-11-11 13:15:46.000000000 +0100 |
Lines 119-125
Link Here
|
119 |
// |
119 |
// |
120 |
private: |
120 |
public: |
121 |
// Methods PRIVATE |
121 |
// Methods PRIVATE |
122 |
// |
122 |
// |
123 |
-- inc/TColStd_SequenceOfInteger.hxx 2005-11-10 23:12:49.000000000 +0100 |
123 |
++ inc/TColStd_SequenceOfInteger.hxx 2005-11-10 23:12:57.000000000 +0100 |
Lines 115-121
Link Here
|
115 |
// |
115 |
// |
116 |
private: |
116 |
public: |
117 |
// Methods PRIVATE |
117 |
// Methods PRIVATE |
118 |
// |
118 |
// |
119 |
-- inc/TopTools_ListOfShape.hxx 2005-11-10 23:36:48.000000000 +0100 |
119 |
++ inc/TopTools_ListOfShape.hxx 2005-11-10 23:36:57.000000000 +0100 |
Lines 110-116
Link Here
|
110 |
// |
110 |
// |
111 |
private: |
111 |
public: |
112 |
// Methods PRIVATE |
112 |
// Methods PRIVATE |
113 |
// |
113 |
// |
114 |
-- inc/TDF_Transaction.hxx 2005-11-11 09:34:41.000000000 +0100 |
114 |
++ inc/TDF_Transaction.hxx 2005-11-11 09:34:55.000000000 +0100 |
Lines 99-105
Link Here
|
99 |
// |
99 |
// |
100 |
private: |
100 |
public: |
101 |
// Methods PRIVATE |
101 |
// Methods PRIVATE |
102 |
// |
102 |
// |
103 |
-- inc/Graphic2d_Buffer.hxx 2005-11-11 00:22:22.000000000 +0100 |
103 |
++ inc/Graphic2d_Buffer.hxx 2005-11-11 00:22:39.000000000 +0100 |
Lines 157-163
Link Here
|
157 |
// |
157 |
// |
158 |
private: |
158 |
public: |
159 |
// Methods PRIVATE |
159 |
// Methods PRIVATE |
160 |
// |
160 |
// |
161 |
-- inc/PCollection_HSequence.gxx 2005-11-11 09:09:02.000000000 +0100 |
161 |
++ inc/PCollection_HSequence.gxx 2005-11-11 09:10:25.000000000 +0100 |
Lines 37-49
Link Here
|
37 |
FirstItem = FirstItem->Next(); |
37 |
FirstItem = FirstItem->Next(); |
38 |
FirstItem->SetPrevious(pnul); |
38 |
FirstItem->SetPrevious(pnul); |
39 |
#ifndef CSFDB |
39 |
#ifndef CSFDB |
40 |
cell.Delete(); |
40 |
// cell.Delete(); |
41 |
#endif |
41 |
#endif |
42 |
--Size; |
42 |
--Size; |
43 |
} |
43 |
} |
44 |
FirstItem.Nullify(); |
44 |
FirstItem.Nullify(); |
45 |
#ifndef CSFDB |
45 |
#ifndef CSFDB |
46 |
LastItem.Delete(); // free memory |
46 |
// LastItem.Delete(); // free memory |
47 |
#endif |
47 |
#endif |
48 |
Size = 0; |
48 |
Size = 0; |
49 |
} |
49 |
} |
Lines 345-351
Link Here
|
345 |
Size = 0; |
345 |
Size = 0; |
346 |
FirstItem.Nullify(); |
346 |
FirstItem.Nullify(); |
347 |
#ifndef CSFDB |
347 |
#ifndef CSFDB |
348 |
LastItem.Delete(); // free memory |
348 |
// LastItem.Delete(); // free memory |
349 |
#endif |
349 |
#endif |
350 |
} |
350 |
} |
351 |
else { |
351 |
else { |
Lines 356-362
Link Here
|
356 |
FirstItem = FirstItem->Next(); |
356 |
FirstItem = FirstItem->Next(); |
357 |
FirstItem->SetPrevious(pnul); |
357 |
FirstItem->SetPrevious(pnul); |
358 |
#ifndef CSFDB |
358 |
#ifndef CSFDB |
359 |
cell.Delete(); // free memory |
359 |
// cell.Delete(); // free memory |
360 |
#endif |
360 |
#endif |
361 |
--Size; |
361 |
--Size; |
362 |
} else if ( Index == Size ) { // Remove the last Index |
362 |
} else if ( Index == Size ) { // Remove the last Index |
Lines 364-370
Link Here
|
364 |
LastItem = LastItem->Previous(); |
364 |
LastItem = LastItem->Previous(); |
365 |
LastItem->SetNext(pnul); |
365 |
LastItem->SetNext(pnul); |
366 |
#ifndef CSFDB |
366 |
#ifndef CSFDB |
367 |
cell.Delete(); // free memory |
367 |
// cell.Delete(); // free memory |
368 |
#endif |
368 |
#endif |
369 |
--Size; |
369 |
--Size; |
370 |
} else { |
370 |
} else { |
Lines 379-385
Link Here
|
379 |
previous->SetNext(next); |
379 |
previous->SetNext(next); |
380 |
next->SetPrevious(previous); |
380 |
next->SetPrevious(previous); |
381 |
#ifndef CSFDB |
381 |
#ifndef CSFDB |
382 |
cell.Delete(); // free memory |
382 |
// cell.Delete(); // free memory |
383 |
#endif |
383 |
#endif |
384 |
--Size; |
384 |
--Size; |
385 |
} |
385 |
} |
386 |
-- inc/Extrema_SequenceOfBoolean.hxx 2005-11-10 23:15:39.000000000 +0100 |
386 |
++ inc/Extrema_SequenceOfBoolean.hxx 2005-11-10 23:15:49.000000000 +0100 |
Lines 118-124
Link Here
|
118 |
// |
118 |
// |
119 |
private: |
119 |
public: |
120 |
// Methods PRIVATE |
120 |
// Methods PRIVATE |
121 |
// |
121 |
// |
122 |
-- inc/TopOpeBRepBuild_ListOfShapeListOfShape.hxx 2005-11-10 |
122 |
++ inc/TopOpeBRepBuild_ListOfShapeListOfShape.hxx 2005-11-10 |
Lines 110-116
Link Here
|
110 |
// |
110 |
// |
111 |
private: |
111 |
public: |
112 |
// Methods PRIVATE |
112 |
// Methods PRIVATE |
113 |
// |
113 |
// |
114 |
-- inc/AIS2D_DataMapOfLocStat.hxx 2005-11-11 00:31:14.000000000 +0100 |
114 |
++ inc/AIS2D_DataMapOfLocStat.hxx 2005-11-11 00:31:26.000000000 +0100 |
Lines 118-124
Link Here
|
118 |
// |
118 |
// |
119 |
private: |
119 |
public: |
120 |
// Methods PRIVATE |
120 |
// Methods PRIVATE |
121 |
// |
121 |
// |
122 |
-- inc/DBC_DBVArray.hxx 2005-11-11 09:06:16.000000000 +0100 |
122 |
++ inc/DBC_DBVArray.hxx 2005-11-11 09:22:51.000000000 +0100 |
Lines 19-23
Link Here
|
19 |
#include <PStandard_ArrayNode.hxx> |
19 |
#include <PStandard_ArrayNode.hxx> |
20 |
typedef PStandard_ArrayNode* DBC_DBVArray; |
20 |
typedef PStandard_ArrayNode* DBC_DBVArray; |
21 |
#endif |
21 |
#endif |
22 |
|
22 |
#ifndef OBDY |
|
|
23 |
#ifndef OBJS |
24 |
#ifndef CSFDB |
25 |
#include <PStandard_ArrayNode.hxx> |
26 |
typedef PStandard_ArrayNode* DBC_DBVArray; |
27 |
#endif |
28 |
#endif |
29 |
#endif |
23 |
#endif |
30 |
#endif |
24 |
-- inc/TopOpeBRepDS_ListOfInterference.hxx 2005-11-10 23:57:17.000000000 +0100 |
31 |
++ inc/TopOpeBRepDS_ListOfInterference.hxx 2005-11-10 23:57:28.000000000 +0100 |
Lines 113-119
Link Here
|
113 |
// |
113 |
// |
114 |
private: |
114 |
public: |
115 |
// Methods PRIVATE |
115 |
// Methods PRIVATE |
116 |
// |
116 |
// |
117 |
-- inc/Approx_SequenceOfHArray1OfReal.hxx 2005-11-10 23:05:57.000000000 +0100 |
117 |
++ inc/Approx_SequenceOfHArray1OfReal.hxx 2005-11-10 23:06:10.000000000 +0100 |
Lines 119-125
Link Here
|
119 |
// |
119 |
// |
120 |
private: |
120 |
public: |
121 |
// Methods PRIVATE |
121 |
// Methods PRIVATE |
122 |
// |
122 |
// |
123 |
-- inc/TopOpeBRepTool_ListOfC2DF.hxx 2005-11-11 00:01:43.000000000 +0100 |
123 |
++ inc/TopOpeBRepTool_ListOfC2DF.hxx 2005-11-11 00:02:02.000000000 +0100 |
Lines 110-116
Link Here
|
110 |
// |
110 |
// |
111 |
private: |
111 |
public: |
112 |
// Methods PRIVATE |
112 |
// Methods PRIVATE |
113 |
// |
113 |
// |
114 |
-- inc/BOP_ListOfLoop.hxx 2005-11-10 23:45:17.000000000 +0100 |
114 |
++ inc/BOP_ListOfLoop.hxx 2005-11-10 23:45:26.000000000 +0100 |
Lines 113-119
Link Here
|
113 |
// |
113 |
// |
114 |
private: |
114 |
public: |
115 |
// Methods PRIVATE |
115 |
// Methods PRIVATE |
116 |
// |
116 |
// |
117 |
-- inc/AppParCurves_SequenceOfMultiCurve.hxx 2005-11-10 23:02:04.000000000 +0100 |
117 |
++ inc/AppParCurves_SequenceOfMultiCurve.hxx 2005-11-10 23:02:22.000000000 +0100 |
Lines 116-122
Link Here
|
116 |
// |
116 |
// |
117 |
private: |
117 |
public: |
118 |
// Methods PRIVATE |
118 |
// Methods PRIVATE |
119 |
// |
119 |
// |
120 |
-- inc/math_IntegerVector.hxx 2005-11-10 23:24:39.000000000 +0100 |
120 |
++ inc/math_IntegerVector.hxx 2005-11-10 23:24:48.000000000 +0100 |
Lines 166-172
Link Here
|
166 |
// |
166 |
// |
167 |
private: |
167 |
public: |
168 |
// Methods PRIVATE |
168 |
// Methods PRIVATE |
169 |
// |
169 |
// |
170 |
-- inc/TopOpeBRepBuild_ListOfLoop.hxx 2005-11-10 23:53:12.000000000 +0100 |
170 |
++ inc/TopOpeBRepBuild_ListOfLoop.hxx 2005-11-10 23:53:24.000000000 +0100 |
Lines 113-119
Link Here
|
113 |
// |
113 |
// |
114 |
private: |
114 |
public: |
115 |
// Methods PRIVATE |
115 |
// Methods PRIVATE |
116 |
// |
116 |
// |
117 |
-- inc/Graphic2d_Primitive.hxx 2005-11-11 00:19:56.000000000 +0100 |
117 |
++ inc/Graphic2d_Primitive.hxx 2005-11-11 00:20:11.000000000 +0100 |
Lines 188-194
Link Here
|
188 |
Standard_Integer myDisplayMode; |
188 |
Standard_Integer myDisplayMode; |
189 |
private: |
189 |
public: |
190 |
// Methods PRIVATE |
190 |
// Methods PRIVATE |
191 |
// |
191 |
// |
192 |
-- inc/TopTools_Array1OfListOfShape.hxx 2005-11-11 00:03:56.000000000 +0100 |
192 |
++ inc/TopTools_Array1OfListOfShape.hxx 2005-11-11 00:04:06.000000000 +0100 |
Lines 110-116
Link Here
|
110 |
// |
110 |
// |
111 |
private: |
111 |
public: |
112 |
// Methods PRIVATE |
112 |
// Methods PRIVATE |
113 |
// |
113 |
// |
114 |
-- configure.in 2006-01-05 18:34:50.000000000 +0800 |
114 |
++ configure.in 2006-01-05 18:40:50.000000000 +0800 |
Line 518
Link Here
|
518 |
CPPFLAGS_save=$CPPFLAGS |
518 |
CPPFLAGS_save=$CXXFLAGS |
519 |
-- src/Draw/Draw_Window.cxx 2005-11-10 23:37:16.000000000 +0100 |
519 |
++ src/Draw/Draw_Window.cxx 2005-11-10 23:37:42.000000000 +0100 |
Lines 44-50
Link Here
|
44 |
{ |
44 |
{ |
45 |
char *promptCmd; |
45 |
const char *promptCmd; |
46 |
int code; |
46 |
int code; |
47 |
Tcl_Channel outChannel, errChannel; |
47 |
Tcl_Channel outChannel, errChannel; |
48 |
outChannel = Tcl_GetStdChannel(TCL_STDOUT); |
48 |
outChannel = Tcl_GetStdChannel(TCL_STDOUT); |
49 |
-- src/Draw/Draw_VariableCommands.cxx 2005-11-10 23:33:46.000000000 +0100 |
49 |
++ src/Draw/Draw_VariableCommands.cxx 2005-11-10 23:36:31.000000000 +0100 |
Lines 644-650
Link Here
|
644 |
Draw::Set(name,D,autodisp); |
644 |
Draw::Set(name,D,autodisp); |
645 |
} |
645 |
} |
646 |
static char* tracevar(ClientData CD, Tcl_Interp*, char*, char*, Standard_Integer) |
646 |
static char* tracevar(ClientData CD, Tcl_Interp*, const char*, const char*, Standard_Integer) |
647 |
{ |
647 |
{ |
648 |
// protect if the map was destroyed before the interpretor |
648 |
// protect if the map was destroyed before the interpretor |
649 |
if (theVariables.IsEmpty()) return NULL; |
649 |
if (theVariables.IsEmpty()) return NULL; |
650 |
-- src/Draw/Draw_VariableCommands.cxx 2005-11-10 23:33:46.000000000 +0100 |
650 |
++ src/Draw/Draw_VariableCommands.cxx 2005-11-10 23:36:31.000000000 +0100 |
Lines 688-694
Link Here
|
688 |
if (!D.IsNull()) { |
688 |
if (!D.IsNull()) { |
689 |
Standard_Integer ival = theVariables.Extent() + 1; |
689 |
Standard_Integer ival = theVariables.Extent() + 1; |
690 |
theVariables.Bind(ival,D); |
690 |
theVariables.Bind(ival,D); |
691 |
D->Name(Tcl_SetVar(theCommands.Interp(),name,name,0)); |
691 |
D->Name((const Standard_CString)Tcl_SetVar(theCommands.Interp(),name,name,0)); |
692 |
// set the trace function |
692 |
// set the trace function |
693 |
Tcl_TraceVar(theCommands.Interp(),name,TCL_TRACE_UNSETS, |
693 |
Tcl_TraceVar(theCommands.Interp(),name,TCL_TRACE_UNSETS, |
694 |
-- src/Draw/Draw_Interpretor.cxx 2005-11-10 23:32:33.000000000 +0100 |
694 |
++ src/Draw/Draw_Interpretor.cxx 2005-11-10 23:33:35.000000000 +0100 |
Lines 25-31
Link Here
|
25 |
static Standard_Integer CommandCmd |
25 |
static Standard_Integer CommandCmd |
26 |
(ClientData clientData, Tcl_Interp *interp, |
26 |
(ClientData clientData, Tcl_Interp *interp, |
27 |
Standard_Integer argc, char* argv[]) |
27 |
Standard_Integer argc, const char* argv[]) |
28 |
{ |
28 |
{ |
29 |
static Standard_Integer code; |
29 |
static Standard_Integer code; |
30 |
code = TCL_OK; |
30 |
code = TCL_OK; |
Lines 42-48
Link Here
|
42 |
Handle(Standard_Failure) E = Standard_Failure::Caught(); |
42 |
Handle(Standard_Failure) E = Standard_Failure::Caught(); |
43 |
// fail if Draw_ExitOnCatch is set |
43 |
// fail if Draw_ExitOnCatch is set |
44 |
char* const cc = Tcl_GetVar(interp, |
44 |
const char* cc = Tcl_GetVar(interp, |
45 |
"Draw_ExitOnCatch",TCL_GLOBAL_ONLY); |
45 |
"Draw_ExitOnCatch",TCL_GLOBAL_ONLY); |
46 |
cout << "An exception was caught " << E << endl; |
46 |
cout << "An exception was caught " << E << endl; |
47 |
-- src/WOKTclTools/WOKTclTools_Interpretor.cxx 2005-11-10 23:43:28.000000000 +0100 |
47 |
++ src/WOKTclTools/WOKTclTools_Interpretor.cxx 2005-11-11 13:27:46.000000000 +0100 |
Lines 57-70
Link Here
|
57 |
Standard_EXPORT Handle(WOKTclTools_Interpretor) CurrentInterp; |
57 |
Standard_EXPORT Handle(WOKTclTools_Interpretor) CurrentInterp; |
58 |
|
58 |
|
59 |
static Standard_Integer CommandCmd (ClientData clientData, Tcl_Interp *, |
59 |
static Standard_Integer CommandCmd (ClientData clientData, Tcl_Interp *, |
60 |
Standard_Integer argc, char* argv[]) |
60 |
Standard_Integer argc, const char* argv[]) |
61 |
{ |
61 |
{ |
62 |
CData* C = (CData*) clientData; |
62 |
CData* C = (CData*) clientData; |
63 |
// set de l'interprete en cours |
63 |
// set de l'interprete en cours |
64 |
CurrentInterp = C->i; |
64 |
CurrentInterp = C->i; |
65 |
if (C->f(C->i,argc,argv) == 0) |
65 |
if (C->f(C->i,argc, (char** const&) argv) == 0) |
66 |
{ |
66 |
{ |
67 |
CurrentInterp.Nullify(); |
67 |
CurrentInterp.Nullify(); |
68 |
return TCL_OK; |
68 |
return TCL_OK; |
Lines 77-83
Link Here
|
77 |
} |
77 |
} |
78 |
static Standard_Integer WOKCommand(ClientData clientData, Tcl_Interp *, |
78 |
static Standard_Integer WOKCommand(ClientData clientData, Tcl_Interp *, |
79 |
Standard_Integer argc, char* argv[]) |
79 |
Standard_Integer argc, const char* argv[]) |
80 |
{ |
80 |
{ |
81 |
WOKCData* C = (WOKCData*) clientData; |
81 |
WOKCData* C = (WOKCData*) clientData; |
Lines 94-100
Link Here
|
94 |
WOKUtils_ProcessManager::Arm(); |
94 |
WOKUtils_ProcessManager::Arm(); |
95 |
// appel de la fonction API |
95 |
// appel de la fonction API |
96 |
if(!(*acmd)(argc, argv, returns)) |
96 |
if(!(*acmd)(argc, (char** const&) argv, returns)) |
97 |
{ |
97 |
{ |
98 |
if(!C->i->TreatReturn(returns)) |
98 |
if(!C->i->TreatReturn(returns)) |
99 |
{ |
99 |
{ |
Lines 110-116
Link Here
|
110 |
Standard_SStream astream; |
110 |
Standard_SStream astream; |
111 |
astream << E << ends; |
111 |
astream << E << ends; |
112 |
ErrorMsg << argv[0] << "Exception was raised : " << GetSString(astream) << endm; |
112 |
ErrorMsg << (char*) argv[0] << "Exception was raised : " << GetSString(astream) << endm; |
113 |
WOKUtils_ProcessManager::UnArm(); |
113 |
WOKUtils_ProcessManager::UnArm(); |
114 |
return TCL_ERROR; |
114 |
return TCL_ERROR; |
115 |
} |
115 |
} |
Lines 440-446
Link Here
|
440 |
Standard_Integer argc,i; |
440 |
Standard_Integer argc,i; |
441 |
Standard_CString* argv; |
441 |
Standard_CString* argv; |
442 |
if(Tcl_SplitList(myInterp, myInterp->result, &argc, &argv)) return Standard_True; |
442 |
if(Tcl_SplitList(myInterp, myInterp->result, &argc, (const char***) argv)) return Standard_True; |
443 |
for(i=0; i<argc; i++) |
443 |
for(i=0; i<argc; i++) |
444 |
{ |
444 |
{ |
Lines 685-691
Link Here
|
685 |
if (Tcl_GetCommandInfo(myInterp, argv[0], &infoPtr) != 0) |
685 |
if (Tcl_GetCommandInfo(myInterp, argv[0], &infoPtr) != 0) |
686 |
{ |
686 |
{ |
687 |
infoPtr.proc (infoPtr.clientData, myInterp, argc, argv); |
687 |
infoPtr.proc (infoPtr.clientData, myInterp, argc, (const char**) argv); |
688 |
if (status==1) |
688 |
if (status==1) |
689 |
Tcl_AddErrorInfo(myInterp,"Invalid message"); |
689 |
Tcl_AddErrorInfo(myInterp,"Invalid message"); |
690 |
} |
690 |
} |
Lines 706-712
Link Here
|
706 |
|
706 |
|
707 |
if (Tcl_GetCommandInfo(myInterp, argv[0], &infoPtr) != 0) |
707 |
if (Tcl_GetCommandInfo(myInterp, argv[0], &infoPtr) != 0) |
708 |
{ |
708 |
{ |
709 |
status = infoPtr.proc (infoPtr.clientData, myInterp, argc, argv); |
709 |
status = infoPtr.proc (infoPtr.clientData, myInterp, argc, (const char**) argv); |
710 |
if (status==1) |
710 |
if (status==1) |
711 |
Tcl_AddErrorInfo(myInterp,"Invalid message"); |
711 |
Tcl_AddErrorInfo(myInterp,"Invalid message"); |
712 |
} |
712 |
} |
Lines 724-730
Link Here
|
724 |
|
724 |
|
725 |
if (Tcl_GetCommandInfo(myInterp, argv[0], &infoPtr) != 0) |
725 |
if (Tcl_GetCommandInfo(myInterp, argv[0], &infoPtr) != 0) |
726 |
{ |
726 |
{ |
727 |
status = infoPtr.proc (infoPtr.clientData, myInterp, argc, argv); |
727 |
status = infoPtr.proc (infoPtr.clientData, myInterp, argc, (const char**) argv); |
728 |
if (status==1) |
728 |
if (status==1) |
729 |
Tcl_AddErrorInfo(myInterp,"Invalid message"); |
729 |
Tcl_AddErrorInfo(myInterp,"Invalid message"); |
730 |
} |
730 |
} |
731 |
-- src/PMMgt/PMMgt_PManaged.cxx 2005-11-11 09:13:20.000000000 +0100 |
731 |
++ src/PMMgt/PMMgt_PManaged.cxx 2005-11-11 09:19:50.000000000 +0100 |
732 |
} |
732 |
} |
733 |
//============================================================================ |
733 |
//============================================================================ |
734 |
#ifndef CSFDB |
734 |
/*#ifndef CSFDB |
735 |
class _Oid_PMMgt_PManaged : public Oid_PMMgt_PManaged { |
735 |
class _Oid_PMMgt_PManaged : public Oid_PMMgt_PManaged { |
736 |
friend class Handle_PMMgt_PManaged; |
736 |
friend class Handle_PMMgt_PManaged; |
737 |
}; |
737 |
}; |
Lines 43-49
Link Here
|
43 |
Nullify(); |
43 |
Nullify(); |
44 |
// delete aMng; |
44 |
// delete aMng; |
45 |
} |
45 |
} |
46 |
#endif |
46 |
#endif*/ |
47 |
#ifdef OBJY |
47 |
#ifdef OBJY |
48 |
void PHandle_PMMgt_PManaged::Delete() |
48 |
void PHandle_PMMgt_PManaged::Delete() |
49 |
{ |
49 |
{ |
50 |
-- src/IGESToBRep/IGESToBRep_Reader.cxx 2005-11-10 23:29:13.000000000 +0100 |
50 |
++ src/IGESToBRep/IGESToBRep_Reader.cxx 2005-11-10 23:29:40.000000000 +0100 |
Lines 55-61
Link Here
|
55 |
#include <ShapeAlgo_AlgoContainer.hxx> |
55 |
#include <ShapeAlgo_AlgoContainer.hxx> |
56 |
#include <MoniTool_ProgressSentry.hxx> |
56 |
#include <MoniTool_ProgressSentry.hxx> |
57 |
extern int errno; |
57 |
#include <errno.h>; |
58 |
static Handle(IGESData_FileProtocol) protocol; |
58 |
static Handle(IGESData_FileProtocol) protocol; |
59 |
-- src/WOKTCL/WOKTCL_DefaultCommand.cxx 2005-11-10 23:40:49.000000000 +0100 |
59 |
++ src/WOKTCL/WOKTCL_DefaultCommand.cxx 2005-11-10 23:42:15.000000000 +0100 |
Lines 45-51
Link Here
|
45 |
Standard_IMPORT Handle(WOKTclTools_Interpretor) CurrentInterp; |
45 |
Standard_IMPORT Handle(WOKTclTools_Interpretor) CurrentInterp; |
46 |
Standard_Integer DefaultCommand(ClientData clientData, Tcl_Interp *, |
46 |
Standard_Integer DefaultCommand(ClientData clientData, Tcl_Interp *, |
47 |
Standard_Integer argc, char* argv[]) |
47 |
Standard_Integer argc, const char* argv[]) |
48 |
{ |
48 |
{ |
49 |
volatile Standard_Integer status = 0; |
49 |
volatile Standard_Integer status = 0; |
Lines 68-74
Link Here
|
68 |
WOKUtils_ProcessManager::Arm(); |
68 |
WOKUtils_ProcessManager::Arm(); |
69 |
// appel de la fonction API |
69 |
// appel de la fonction API |
70 |
if(!(*acmd)(C->i->Session(), argc, argv, returns)) |
70 |
if(!(*acmd)(C->i->Session(), argc, (char** const&) argv, returns)) |
71 |
{ |
71 |
{ |
72 |
if(!C->i->TreatReturn(returns)) |
72 |
if(!C->i->TreatReturn(returns)) |
73 |
{ |
73 |
{ |
Lines 88-94
Link Here
|
88 |
Standard_SStream astream; |
88 |
Standard_SStream astream; |
89 |
astream << E << ends; |
89 |
astream << E << ends; |
90 |
ErrorMsg << argv[0] << "Exception was raised : " << GetSString(astream) << endm; |
90 |
ErrorMsg << (char*) argv[0] << "Exception was raised : " << GetSString(astream) << endm; |
91 |
WOKAPI_Session* asess = (WOKAPI_Session *) &(C->i->Session()); |
91 |
WOKAPI_Session* asess = (WOKAPI_Session *) &(C->i->Session()); |
92 |
asess->GeneralFailure(E); |
92 |
asess->GeneralFailure(E); |
93 |
-- src/WOKUnix/WOKUnix_FDescr.cxx 2005-11-10 23:28:34.000000000 +0100 |
93 |
++ src/WOKUnix/WOKUnix_FDescr.cxx 2005-11-10 23:28:59.000000000 +0100 |
Lines 39-45
Link Here
|
39 |
extern "C" { extern int mknod (const char *, mode_t , dev_t ); } |
39 |
extern "C" { extern int mknod (const char *, mode_t , dev_t ); } |
40 |
extern int errno; |
40 |
#include <errno.h>; |
41 |
const OSD_WhoAmI Iam = OSD_WFile; |
41 |
const OSD_WhoAmI Iam = OSD_WFile; |