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
The c2mir_compile() takes ungetc_func function as parameter. However ungetc_func() implementation needs to be able to refer to some state in order to work. The standard way to allow the ungetc_func() to access its state is to pass a void * argument which is then passed to ungetc_func().
At the moment the only way for ungetc_func() to work is to access through static lifetime data.
The text was updated successfully, but these errors were encountered:
The
c2mir_compile()
takesungetc_func
function as parameter. Howeverungetc_func()
implementation needs to be able to refer to some state in order to work. The standard way to allow theungetc_func()
to access its state is to pass avoid *
argument which is then passed toungetc_func()
.At the moment the only way for
ungetc_func()
to work is to access through static lifetime data.The text was updated successfully, but these errors were encountered: