stuff
This commit is contained in:
parent
096dee8327
commit
223d94b8f2
@ -48,7 +48,6 @@ int im_add_evalend_callback( IMAGE *im, im_callback_fn fn, void *a, void *b );
|
|||||||
int im_add_invalidate_callback( IMAGE *im,
|
int im_add_invalidate_callback( IMAGE *im,
|
||||||
im_callback_fn fn, void *a, void *b );
|
im_callback_fn fn, void *a, void *b );
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif /*__cplusplus*/
|
#endif /*__cplusplus*/
|
||||||
|
@ -273,11 +273,6 @@ const char *im_guess_libdir( const char *, const char * );
|
|||||||
VipsImage *im_open( const char *filename, const char *mode );
|
VipsImage *im_open( const char *filename, const char *mode );
|
||||||
int im_close( VipsImage *im );
|
int im_close( VipsImage *im );
|
||||||
|
|
||||||
void *im_local( IMAGE *im,
|
|
||||||
im_construct_fn cons, im_callback_fn dest, void *a, void *b, void *c );
|
|
||||||
int im_local_array( IMAGE *im, void **out, int n,
|
|
||||||
im_construct_fn cons, im_callback_fn dest, void *a, void *b, void *c );
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* im_open_local:
|
* im_open_local:
|
||||||
* @IM: image to open local to
|
* @IM: image to open local to
|
||||||
|
@ -165,10 +165,13 @@ extern "C" {
|
|||||||
|
|
||||||
#define IM_CLIP_NONE( V, SEQ ) {}
|
#define IM_CLIP_NONE( V, SEQ ) {}
|
||||||
|
|
||||||
/* Basic function types.
|
|
||||||
*/
|
|
||||||
typedef void *(*im_construct_fn)( void *, void *, void * );
|
typedef void *(*im_construct_fn)( void *, void *, void * );
|
||||||
|
|
||||||
|
void *im_local( VipsImage *im,
|
||||||
|
im_construct_fn cons, im_callback_fn dest, void *a, void *b, void *c );
|
||||||
|
int im_local_array( VipsImage *im, void **out, int n,
|
||||||
|
im_construct_fn cons, im_callback_fn dest, void *a, void *b, void *c );
|
||||||
|
|
||||||
/* strtok replacement.
|
/* strtok replacement.
|
||||||
*/
|
*/
|
||||||
char *im__break_token( char *str, char *brk );
|
char *im__break_token( char *str, char *brk );
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
bin_PROGRAMS = \
|
bin_PROGRAMS = \
|
||||||
vips \
|
vips \
|
||||||
binfile \
|
binfile \
|
||||||
debugim \
|
|
||||||
edvips \
|
edvips \
|
||||||
header
|
header
|
||||||
|
|
||||||
|
@ -1,70 +0,0 @@
|
|||||||
/* @(#) Prints the values of a file
|
|
||||||
* @(#) Result is printed in stderr output
|
|
||||||
* @(#)
|
|
||||||
* @(#) Usage: debugim infile
|
|
||||||
* @(#)
|
|
||||||
*
|
|
||||||
* Copyright: 1990, N. Dessipris.
|
|
||||||
*
|
|
||||||
* Author: Nicos Dessipris
|
|
||||||
* Written on: 03/08/1990
|
|
||||||
* Modified on:
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
This file is part of VIPS.
|
|
||||||
|
|
||||||
VIPS 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; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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 this program; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include <config.h>
|
|
||||||
#endif /*HAVE_CONFIG_H*/
|
|
||||||
#include <vips/intl.h>
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
#include <vips/vips.h>
|
|
||||||
#include <vips/debug.h>
|
|
||||||
|
|
||||||
int
|
|
||||||
main( int argc, char **argv )
|
|
||||||
{
|
|
||||||
IMAGE *in;
|
|
||||||
|
|
||||||
if( argc != 2 )
|
|
||||||
error_exit( "usage: %s infile", argv[0] );
|
|
||||||
|
|
||||||
if( im_init_world( argv[0] ) )
|
|
||||||
error_exit( "unable to start VIPS" );
|
|
||||||
|
|
||||||
if( !(in = im_open( argv[1], "r" )) )
|
|
||||||
error_exit( "unable to open %s for input", argv[1]);
|
|
||||||
|
|
||||||
if( im_debugim( in ) )
|
|
||||||
error_exit( "unable to im_debugim");
|
|
||||||
|
|
||||||
im_close( in );
|
|
||||||
|
|
||||||
return( 0 );
|
|
||||||
}
|
|
@ -71,6 +71,7 @@
|
|||||||
|
|
||||||
#include <vips/vips.h>
|
#include <vips/vips.h>
|
||||||
#include <vips/internal.h>
|
#include <vips/internal.h>
|
||||||
|
#include <vips/debug.h>
|
||||||
|
|
||||||
static char *main_option_field = NULL;
|
static char *main_option_field = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user