[OpenSIPS-Devel] [OpenSIPS/opensips] 9f38e1: Move cJSON library from proto_hep to core and more

ionutrazvanionita ionutionita at opensips.org
Mon Feb 27 10:02:55 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9f38e1f3df9a387b7fb5f9d868fc86520fe0bf6b
      https://github.com/OpenSIPS/opensips/commit/9f38e1f3df9a387b7fb5f9d868fc86520fe0bf6b
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-02-27 (Mon, 27 Feb 2017)

  Changed paths:
    A lib/cJSON.c
    A lib/cJSON.h
    M modules/proto_hep/Makefile
    R modules/proto_hep/cJSON.c
    R modules/proto_hep/cJSON.h
    M modules/proto_hep/hep.c

  Log Message:
  -----------
  Move cJSON library from proto_hep to core and more

	* moved cJSON code from proto_hep module to core;
	* libmath dependency is now optional; implemented floor
and fabs functions internally to get rid of this dependency;
	* used pkg_malloc and pkg_free internal functions instead
of free and malloc;
	* using '-DHAVE_LIBMATH' and linkging libmath '-lm' will
result in compiling cJSON code with libmath;




More information about the Devel mailing list