Skip to content

Commit

Permalink
Merge pull request #102 from project-everest/_taramana_krml_host_ignore
Browse files Browse the repository at this point in the history
Define KRML_HOST_IGNORE to mark unused arguments
  • Loading branch information
tahina-pro authored Oct 2, 2023
2 parents eaf69dc + f564ec8 commit cc5923f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/3d/EverParseEndianness.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ extern "C" {
typedef const char * EVERPARSE_STRING;
typedef EVERPARSE_STRING PRIMS_STRING;

#ifndef KRML_HOST_IGNORE
# define KRML_HOST_IGNORE(x) (void)(x);
#endif

#ifndef KRML_HOST_PRINTF
# include <stdio.h>
# define KRML_HOST_PRINTF printf
Expand Down
4 changes: 4 additions & 0 deletions src/3d/EverParseEndianness_Windows_NT.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ nswamy, protz, taramana 5-Feb-2020
typedef const char * EVERPARSE_STRING;
typedef EVERPARSE_STRING PRIMS_STRING;

#ifndef KRML_HOST_IGNORE
# define KRML_HOST_IGNORE(x) (void)(x);
#endif

#ifndef KRML_HOST_PRINTF
# include <stdio.h>
# define KRML_HOST_PRINTF printf
Expand Down

0 comments on commit cc5923f

Please sign in to comment.