Skip to content

Commit

Permalink
Solution 1: COPY_BUFFER_T without the EVERPARSE_ prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
tahina-pro committed Dec 5, 2023
1 parent e639747 commit a8a70af
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/3d/EverParseEndianness.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ extern "C" {

typedef const char * EVERPARSE_STRING;
typedef EVERPARSE_STRING PRIMS_STRING;
typedef void* EVERPARSE_COPY_BUFFER_T;
typedef void* COPY_BUFFER_T;

#ifndef KRML_MAYBE_UNUSED_VAR
# define KRML_MAYBE_UNUSED_VAR(x) (void)(x)
Expand Down
2 changes: 1 addition & 1 deletion src/3d/EverParseEndianness_Windows_NT.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ nswamy, protz, taramana 5-Feb-2020

typedef const char * EVERPARSE_STRING;
typedef EVERPARSE_STRING PRIMS_STRING;
typedef void* EVERPARSE_COPY_BUFFER_T;
typedef void* COPY_BUFFER_T;

#ifndef KRML_MAYBE_UNUSED_VAR
# define KRML_MAYBE_UNUSED_VAR(x) (void)(x)
Expand Down
1 change: 1 addition & 0 deletions src/3d/ocaml/Batch.ml
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ let krml_args input_stream_binding emit_output_types_defs add_include skip_c_mak
"-skip-compilation" ::
"-static-header" :: "LowParse.Low.Base,EverParse3d.Prelude.StaticHeader,EverParse3d.ErrorCode,EverParse3d.CopyBuffer,EverParse3d.InputStream.\\*" ::
"-no-prefix" :: "LowParse.Slice" ::
"-no-prefix" :: "EverParse3d.CopyBuffer" ::
"-no-prefix" :: "LowParse.Low.BoundedInt" ::
"-library" :: everparse_only_bundle ::
"-warn-error" :: "-9@4-20" ::
Expand Down
1 change: 1 addition & 0 deletions src/3d/prelude/buffer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ EverParse.h: EverParse.rsp
-add-include 'EverParse:"EverParseEndianness.h"' \
-static-header 'EverParse3d.Prelude.StaticHeader,LowParse.Low.Base,EverParse3d.ErrorCode,EverParse3d.InputStream.\*' \
-no-prefix LowParse.Slice \
-no-prefix EverParse3d.CopyBuffer \
-no-prefix LowParse.Low.BoundedInt \
-fmicrosoft \
-fextern-c \
Expand Down
1 change: 1 addition & 0 deletions src/3d/prelude/extern/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ KRML_EXTERN = $(KRML_HOME)/krml \
-add-include 'EverParse:"EverParseEndianness.h"' \
-static-header 'EverParse3d.Prelude.StaticHeader,LowParse.Low.Base,EverParse3d.ErrorCode,EverParse3d.InputStream.Extern.Type' \
-no-prefix LowParse.Slice \
-no-prefix EverParse3d.CopyBuffer \
-no-prefix LowParse.Low.BoundedInt \
-fmicrosoft \
-fextern-c
Expand Down

0 comments on commit a8a70af

Please sign in to comment.