psi_dump() & psi_validate()
[m6w6/ext-psi] / src / context.c
index 1887a7c0146533b2b37fce2b4b175490d19475ce..de72810e5403a076cd9bc4aa4c0d1d944042729c 100644 (file)
@@ -137,7 +137,7 @@ PSI_Context *PSI_ContextInit(PSI_Context *C, PSI_ContextOps *ops, PSI_ContextErr
                predef_decl = farg;
        }
 
-       PSI_ContextValidatePredef(C, &T);
+       PSI_ContextValidateData(PSI_DATA(C), &T);
 
        C->count = 1;
        C->data = malloc(sizeof(*C->data));