Skip to content

Commit

Permalink
refactor: move parse_heap_size_hint header to julia.h
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Aug 29, 2024
1 parent de9c51d commit 7d76e7f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/gc-stock.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "julia_atomics.h"
#include "julia_gcext.h"
#include "julia_assert.h"
#include "jloptions.h"
#ifdef __GLIBC__
#include <malloc.h> // for malloc_trim
#endif
Expand Down
2 changes: 0 additions & 2 deletions src/jloptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,4 @@ typedef struct {
int8_t trace_compile_timing;
} jl_options_t;

uint64_t parse_heap_size_hint(const char *optarg, const char *option_name);

#endif
2 changes: 2 additions & 0 deletions src/julia.h
Original file line number Diff line number Diff line change
Expand Up @@ -2505,6 +2505,8 @@ JL_DLLEXPORT ssize_t jl_sizeof_jl_options(void);
JL_DLLEXPORT void jl_parse_opts(int *argcp, char ***argvp);
JL_DLLEXPORT char *jl_format_filename(const char *output_pattern);

uint64_t parse_heap_size_hint(const char *optarg, const char *option_name);

// Set julia-level ARGS array according to the arguments provided in
// argc/argv
JL_DLLEXPORT void jl_set_ARGS(int argc, char **argv);
Expand Down

0 comments on commit 7d76e7f

Please sign in to comment.