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.
2 parents 2ce45a4 + 11e70bc commit 5fff3e0Copy full SHA for 5fff3e0
core/Env.savi
@@ -90,3 +90,7 @@
90
chunks.each -> (data |
91
_FFI.pony_os_std_write(@_stream, data.cpointer, data.size)
92
)
93
+
94
+ :: Ensure that all buffered data is flushed to the output stream.
95
+ :be flush
96
+ _FFI.pony_os_std_flush(@_stream)
core/_FFI.savi
@@ -13,6 +13,7 @@
13
:ffi pony_os_std_write(
14
fp CPointer(None)'ref, buffer CPointer(U8), length USize
15
) None
16
+ :ffi pony_os_std_flush(fp CPointer(None)'ref) None
17
18
:module _FFI.Cast(A, B)
19
:: An FFI-only utility function for bit-casting type A to B.
0 commit comments