Slightchanges in the API

21 views
Skip to first unread message

Ze'ev Atlas

unread,
Mar 31, 2024, 1:55:04 PM3/31/24
to Pcre2-dev, Philip Hazel
Hello Phil
I have noticed slight changes in the call sequences for these functions:

PCRE2_EXP_DECL pcre2_general_context *PCRE2_CALL_CONVENTION \
  pcre2_general_context_create(void *(*)(size_t, void *), \
    void (*)(void *, void *), void *); \
PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
  pcre2_set_recursion_memory_management(pcre2_match_context *, \
    void *(*)(size_t, void *), void (*)(void *, void *), void *);
PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \
  pcre2_substring_list_free(PCRE2_UCHAR **); \
PCRE2_EXP_DECL pcre2_jit_stack *PCRE2_CALL_CONVENTION \
  pcre2_jit_stack_create(size_t, size_t, pcre2_general_context *); \

Would that affect client programs that call those functions.  Do those client programs need to be recompiled?


Ze'ev Atlas
201-801-0378
201-805-0286 (cell)

Philip Hazel

unread,
Apr 1, 2024, 4:18:19 AM4/1/24
to Ze'ev Atlas, Pcre2-dev
I can't remember the precise details of this, but I do not think recompilation is necessary. The changes are minor tidying of types.

Regards,
Philip

Reply all
Reply to author
Forward
0 new messages