Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put hts_ prefix in front of various klib functions #881

Closed
wants to merge 4 commits into from

Commits on Jun 10, 2019

  1. Put hts_ prefix in front of kstring funcs and add wrappers for API

    Prevent clashes with other libraries that use the Attactive Chaos
    version of kstring.h by putting an hts_ prefix in front of all
    the external symbols.  The API is preserved by adding static
    inline wrappers around the renamed symbols.
    
    Relatively trivial functions ksprintf(), kstrstr() and kstrnstr()
    are moved into the header file.
    
    Fixes samtools#693 (Duplicate symbols with libbwa)
    daviesrob committed Jun 10, 2019
    Configuration menu
    Copy the full SHA
    1a39275 View commit details
    Browse the repository at this point in the history
  2. Upgrade kmemmem to take size_t long strings and add tests

    Pattern is limited to size INT_MAX.
    
    Fix memory leak found by tests.
    daviesrob committed Jun 10, 2019
    Configuration menu
    Copy the full SHA
    f42e3e4 View commit details
    Browse the repository at this point in the history
  3. Put hts_ prefix in front of kfunc functions and add wrappers

    Prevent clashes with other libraries that use the Attactive Chaos
    version of kfunc.h by putting an hts_ prefix in front of all
    the external symbols.  The API is preserved by adding static
    inline wrappers around the renamed symbols.
    
    Changes a few leading underscores to trailing ones.
    daviesrob committed Jun 10, 2019
    Configuration menu
    Copy the full SHA
    829e86c View commit details
    Browse the repository at this point in the history
  4. Put hts_ prefix in front of knetfile funcs and add wrappers

    Also makes all functions in knetfile.c that are not included in
    the knetfile.h header static as they are not part of the public
    api.
    daviesrob committed Jun 10, 2019
    Configuration menu
    Copy the full SHA
    1908ac7 View commit details
    Browse the repository at this point in the history