Changeset View
Changeset View
Standalone View
Standalone View
src/backends/julia/juliaserver/juliaserver.cpp
Context not available. | |||||
91 | static_cast<jl_value_t *>(jl_call2(equality, nothing, val)) | 91 | static_cast<jl_value_t *>(jl_call2(equality, nothing, val)) | ||
---|---|---|---|---|---|
92 | ); | 92 | ); | ||
93 | if (!is_nothing) { | 93 | if (!is_nothing) { | ||
94 | jl_static_show(JL_STDOUT, val); | 94 | jl_value_t *out_stream = static_cast<jl_value_t *>( | ||
95 | jl_eval_string("STDOUT") | ||||
96 | ); | ||||
97 | jl_function_t *text_display = | ||||
98 | jl_get_function(jl_base_module, "TextDisplay"); | ||||
99 | jl_value_t *out_display = jl_call1(text_display, out_stream); | ||||
100 | jl_function_t *display = | ||||
101 | jl_get_function(jl_base_module, "display"); | ||||
102 | jl_call2(display, out_display, val); | ||||
95 | } | 103 | } | ||
96 | m_was_exception = false; | 104 | m_was_exception = false; | ||
97 | } | 105 | } | ||
Context not available. |