You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using code written in C at Scissors to resolve compress logic. This code is compiled using emscripten.
To interop the compiled code with the rest of project we have one wrapper to huffman and another wrapper to lzss.
But we have some problems in this interop:
since printed messages at C is only passed to console at browser when a \n is printed, some error messages (for example, line 276 at huffman.c and line 227 at lzss.c) isn't showed
these errors isn't handled at JS either showed to the user
These errors happens currently. I think that it happens because we are using the same filename to read and to write (see wrappers). We should test if using a different file names these errors are resolved - but we still need make these erros more noticeable.
The text was updated successfully, but these errors were encountered:
We are using code written in C at Scissors to resolve compress logic. This code is compiled using emscripten.
To interop the compiled code with the rest of project we have one wrapper to huffman and another wrapper to lzss.
But we have some problems in this interop:
\n
is printed, some error messages (for example, line 276 athuffman.c
and line 227 atlzss.c
) isn't showedThese errors happens currently. I think that it happens because we are using the same filename to read and to write (see wrappers). We should test if using a different file names these errors are resolved - but we still need make these erros more noticeable.
The text was updated successfully, but these errors were encountered: