File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ namespace capi
4646extern " C"
4747{
4848#else
49+ #include < stddef.h>
4950#include < stdbool.h>
5051#endif
5152/* *
Original file line number Diff line number Diff line change 3232#include <stdlib.h>
3333#include <stdio.h>
3434
35- const char * PDALReadPipelineJson (const char * path )
35+ char * PDALReadPipelineJson (const char * path )
3636{
3737 FILE * file = fopen (path , "rb" );
3838 char * json = NULL ;
@@ -64,7 +64,7 @@ const char *PDALReadPipelineJson(const char *path)
6464PDALPipelinePtr * PDALLoadPipeline (const char * path )
6565{
6666 PDALPipelinePtr * pipeline = NULL ;
67- const char * json = PDALReadPipelineJson (path );
67+ char * json = PDALReadPipelineJson (path );
6868
6969 if (json )
7070 {
Original file line number Diff line number Diff line change 3838 * @param path The path to the PDAL pipeline JSON file
3939 * @return The contents of the PDAL pipeline JSON file as a string
4040 */
41- const char * PDALReadPipelineJson (const char * path );
41+ char * PDALReadPipelineJson (const char * path );
4242
4343/**
4444 * Creates a PDAL pipeline from the provided path and attempts to execute it.
You can’t perform that action at this time.
0 commit comments