]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/io.hpp
io.streams.256color: faster by caching styles
[factor.git] / vm / io.hpp
index 57f7b19f8306faf78fa42cfd718d6576581e9bed..60cae14c7d653d7397197204290f00f58c6cde1b 100644 (file)
--- a/vm/io.hpp
+++ b/vm/io.hpp
@@ -1,10 +1,10 @@
 namespace factor {
 
-/* Safe IO functions that does not throw Factor errors. */
+// Safe IO functions that does not throw Factor errors.
 int raw_fclose(FILE* stream);
-int raw_fread(void* ptr, size_t size, size_t nitems, FILE* stream);
+size_t raw_fread(void* ptr, size_t size, size_t nitems, FILE* stream);
 
-/* Platform specific primitives */
+// Platform specific primitives
 
 VM_C_API int err_no();
 VM_C_API void set_err_no(int err);