X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fcontext.c;h=46210f0659e2ce991cac079319e49d0f8001b894;hp=449f98eef5699101aad1d4bb80eaadc52e612989;hb=682b684daaa140de059da4a060098b8a6c0a439e;hpb=79659188464b3fba4bb497838f679bbb98f43d1a diff --git a/src/context.c b/src/context.c index 449f98e..46210f0 100644 --- a/src/context.c +++ b/src/context.c @@ -168,8 +168,7 @@ zend_function_entry *psi_context_compile(struct psi_context *C) { zend_constant zc; - zc.flags = CONST_PERSISTENT|CONST_CS; - zc.module_number = EG(current_module)->module_number; + ZEND_CONSTANT_SET_FLAGS(&zc, CONST_CS|CONST_PERSISTENT, EG(current_module)->module_number); if (C->consts) { size_t i = 0;