We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7c70bc commit c5a4409Copy full SHA for c5a4409
src/jlapi.c
@@ -5,6 +5,7 @@
5
miscellaneous functions for users of libjulia.so, to handle initialization
6
and the style of use where julia is not in control most of the time.
7
*/
8
+#include "dtypes.h"
9
#include "platform.h"
10
11
#include <stdlib.h>
@@ -120,6 +121,13 @@ JL_DLLEXPORT void jl_init_with_image_file(const char *julia_bindir,
120
121
jl_exception_clear();
122
}
123
124
+// Deprecated function, kept for backward compatibility
125
+JL_DLLEXPORT void jl_init_with_image(const char *julia_bindir,
126
+ const char *image_path)
127
+{
128
+ jl_init_with_image_file(julia_bindir, image_path);
129
+}
130
+
131
/**
132
* @brief Initialize the Julia runtime.
133
*
0 commit comments