constVariablePointer

This commit is contained in:
gtsoul-tech
2024-05-02 14:21:16 +03:00
parent cec3332c69
commit 2903681129
32 changed files with 101 additions and 101 deletions

View File

@@ -254,8 +254,8 @@ void roseFlushLastByteHistory(const struct RoseEngine *t,
return;
}
struct RoseContext *tctxt = &scratch->tctxt;
struct core_info *ci = &scratch->core_info;
const struct RoseContext *tctxt = &scratch->tctxt;
const struct core_info *ci = &scratch->core_info;
/* currEnd is last byte of string + 1 */
if (tctxt->lastEndOffset == ci->buf_offset + ci->len