Changeset 2695
- Timestamp:
- 08/11/08 22:02:10 (5 years ago)
- Location:
- libpipi/trunk/pipi
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libpipi/trunk/pipi/Makefile.am
r2692 r2695 20 20 pixels.c \ 21 21 codec.c \ 22 stock.c \ 22 23 resize.c \ 23 24 dither.c \ -
libpipi/trunk/pipi/codec.c
r2632 r2695 17 17 */ 18 18 19 #include "config.h" 20 #include "common.h" 21 19 22 #include <stdio.h> 20 23 #include <stdlib.h> 21 22 #include "config.h" 23 #include "common.h" 24 #include <string.h> 24 25 25 26 #include "pipi.h" 26 27 #include "pipi_internals.h" 27 28 28 pipi_image_t *pipi_load(c onst char*name)29 pipi_image_t *pipi_load(char const *name) 29 30 { 31 if(!strncmp(name, "pipi:", 5)) 32 return pipi_load_stock(name + 5); 33 30 34 #if USE_IMLIB2 31 35 return pipi_load_imlib2(name); -
libpipi/trunk/pipi/pipi.h
r2692 r2695 72 72 extern int pipi_command(pipi_context_t *, char const *, ...); 73 73 74 extern pipi_image_t *pipi_load(const char *); 74 extern pipi_image_t *pipi_load(char const *); 75 extern pipi_image_t *pipi_load_stock(char const *); 75 76 extern pipi_image_t *pipi_new(int, int); 76 77 extern pipi_image_t *pipi_copy(pipi_image_t *);
Note: See TracChangeset
for help on using the changeset viewer.
