mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-10 06:49:40 +00:00
jansson: json_pack with new format to verify required runtime version.
Add a json_pack at startup that will fail if runtime links against a library older than jansson-2.11. Change-Id: I101aebafe0f9407650206f7c552dad3d69377b5a
This commit is contained in:
@@ -89,7 +89,7 @@ typedef AST_JSON_INT_T ast_json_int_t;
|
||||
/*!
|
||||
* \brief Initialize the JSON library.
|
||||
*/
|
||||
void ast_json_init(void);
|
||||
int ast_json_init(void);
|
||||
|
||||
/*!
|
||||
* \brief Set custom allocators instead of the standard ast_malloc() and ast_free().
|
||||
|
Reference in New Issue
Block a user