Sha256: 7289953e6367deebfb1706fa3450f8e0328473b00792ad1b0d65e8a10ffd9019
Contents?: true
Size: 814 Bytes
Versions: 1
Compression:
Stored size: 814 Bytes
Contents
/* * version_sorter.h * version_sorter * * Created by K. Adam Christensen on 10/10/09. * Copyright 2009. All rights reserved. * */ #ifndef _VERSION_SORTER_H #define _VERSION_SORTER_H #if UNIT_TESTING #define static #include <stdarg.h> #include <stddef.h> #include <setjmp.h> #include <cmockery.h> #endif #define DIE(msg) \ fprintf(stderr, msg);\ exit(EXIT_FAILURE);\ typedef struct _VersionSortingItem { struct _VersionPiece *head; struct _VersionPiece *tail; int node_len; int widest_len; char *normalized; const char *original; size_t original_len; } VersionSortingItem; typedef struct _VersionPiece { char *str; int len; struct _VersionPiece *next; } VersionPiece; extern void version_sorter_sort(char **, size_t); #endif /* _VERSION_SORTER_H */
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
version_sorter-1.0.0 | ext/version_sorter/version_sorter.h |