Permalink
Please sign in to comment.
Browse files
Move openslide-tools-common and test-common to new static library
- Loading branch information...
Showing
with
86 additions
and 101 deletions.
- +1 −0 .gitignore
- +36 −28 Makefile.am
- +9 −11 tools/openslide-tools-common.c → common/openslide-common-cmdline.c
- +2 −2 test/test-common.c → common/openslide-common-fd.c
- +22 −3 test/test-common.h → common/openslide-common.h
- +2 −2 test/extended.c
- +2 −2 test/try_open.c
- +4 −4 tools/openslide-quickhash1sum.c
- +4 −4 tools/openslide-show-properties.c
- +0 −41 tools/openslide-tools-common.h
- +4 −4 tools/openslide-write-png.c
64
Makefile.am
| @@ -1,41 +0,0 @@ | ||
| -/* | ||
| - * OpenSlide, a library for reading whole slide image files | ||
| - * | ||
| - * Copyright (c) 2007-2012 Carnegie Mellon University | ||
| - * All rights reserved. | ||
| - * | ||
| - * OpenSlide is free software: you can redistribute it and/or modify | ||
| - * it under the terms of the GNU Lesser General Public License as | ||
| - * published by the Free Software Foundation, version 2.1. | ||
| - * | ||
| - * OpenSlide is distributed in the hope that it will be useful, | ||
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| - * GNU Lesser General Public License for more details. | ||
| - * | ||
| - * You should have received a copy of the GNU Lesser General Public | ||
| - * License along with OpenSlide. If not, see | ||
| - * <http://www.gnu.org/licenses/>. | ||
| - * | ||
| - */ | ||
| - | ||
| -#ifndef _OPENSLIDE_TOOLS_COMMON_H | ||
| -#define _OPENSLIDE_TOOLS_COMMON_H | ||
| - | ||
| -#include <glib.h> | ||
| - | ||
| -struct openslide_tools_usage_info { | ||
| - const char *parameter_string; | ||
| - const char *summary; | ||
| -}; | ||
| - | ||
| -void _openslide_tools_parse_commandline(const struct openslide_tools_usage_info *info, | ||
| - int *argc, | ||
| - char ***argv); | ||
| - | ||
| -void _openslide_tools_usage(const struct openslide_tools_usage_info *info) | ||
| - G_GNUC_NORETURN; | ||
| - | ||
| -bool _openslide_tools_fix_argv(int *argc, char ***argv); | ||
| - | ||
| -#endif |
0 comments on commit
79e23d7