File tree Expand file tree Collapse file tree 5 files changed +17
-14
lines changed
Expand file tree Collapse file tree 5 files changed +17
-14
lines changed Original file line number Diff line number Diff line change 2626 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2727 * POSSIBILITY OF SUCH DAMAGE.
2828 *****************************************************************************/
29-
29+ # define _CRT_SECURE_NO_WARNINGS
3030#include " pdal/pdalc_dimtype.h"
3131
3232#include < pdal/DimType.hpp>
3333
34+
35+
3436namespace pdal
3537{
3638namespace capi
Original file line number Diff line number Diff line change @@ -68,15 +68,6 @@ using PointView = pdal::PointViewPtr;
6868using TriangularMesh = pdal::MeshPtr;
6969using DimTypeList = std::unique_ptr<pdal::DimTypeList>;
7070
71- struct Pipeline {
72- public:
73-
74- std::unique_ptr<pdal::PipelineManager> manager = std::make_unique<pdal::PipelineManager>();
75-
76- bool m_executed = false ;
77- std::stringstream logStream;
78- pdal::LogLevel logLevel;
79- };
8071}
8172}
8273
Original file line number Diff line number Diff line change @@ -44,8 +44,19 @@ namespace pdal
4444{
4545namespace capi
4646{
47+
4748extern " C"
4849{
50+ struct Pipeline {
51+ public:
52+
53+ std::unique_ptr<pdal::PipelineManager> manager = std::make_unique<pdal::PipelineManager>();
54+
55+ bool m_executed = false ;
56+ std::stringstream logStream;
57+ pdal::LogLevel logLevel;
58+ };
59+
4960 PDALPipelinePtr PDALCreatePipeline (const char * json)
5061 {
5162 PDALPipelinePtr pipeline = new Pipeline ();
Original file line number Diff line number Diff line change 3232
3333#include " pdalc_forward.h"
3434
35+
3536/* *
3637 * @file pdalc_pipeline.h
3738 * Functions to launch and inspect the results of a PDAL pipeline.
@@ -45,6 +46,7 @@ namespace capi
4546{
4647extern " C"
4748{
49+
4850#else
4951#include < stdbool.h> // for bool
5052#include < stddef.h> // for size_t
@@ -157,9 +159,6 @@ PDALC_API PDALPointViewIteratorPtr PDALGetPointViews(PDALPipelinePtr pipeline);
157159#ifdef __cplusplus
158160
159161} /* extern C */
160-
161-
162-
163162} /* capi*/
164163} /* pdal*/
165164#endif /* _cplusplus */
Original file line number Diff line number Diff line change 2626 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2727 * POSSIBILITY OF SUCH DAMAGE.
2828 *****************************************************************************/
29-
29+ # define _CRT_SECURE_NO_WARNINGS
3030#include " pdalc_pointview.h"
3131
3232#include < pdal/PointView.hpp>
You can’t perform that action at this time.
0 commit comments