Skip to content
Snippets Groups Projects
Commit f1bcf5f3 authored by Mirar (Pontus Hagland)'s avatar Mirar (Pontus Hagland)
Browse files

...

Rev: src/modules/Image/encodings/gd.c:1.2
parent 2d8ce2fd
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#endif #endif
#include "stralloc.h" #include "stralloc.h"
RCSID("$Id: gd.c,v 1.1 1999/05/23 17:46:18 mirar Exp $"); RCSID("$Id: gd.c,v 1.2 1999/05/24 13:04:45 mirar Exp $");
#include "pike_macros.h" #include "pike_macros.h"
#include "object.h" #include "object.h"
#include "constants.h" #include "constants.h"
...@@ -108,15 +108,15 @@ static void image_gd_f__decode(INT32 args) ...@@ -108,15 +108,15 @@ static void image_gd_f__decode(INT32 args)
img_gd_decode(args,0); img_gd_decode(args,0);
} }
void init_image_avs() void init_image_gd()
{ {
add_function( "decode", image_gd_f_decode, tFunc(tStr,tObj), 0); ADD_FUNCTION( "decode", image_gd_f_decode, tFunc(tStr,tObj), 0);
add_function( "decode_alpha", image_gd_f_decode_alpha, tFunc(tStr,tObj), 0); ADD_FUNCTION( "decode_alpha", image_gd_f_decode_alpha, tFunc(tStr,tObj), 0);
add_function( "_decode", image_gd_f__decode, tFunc(tStr,tMapping), 0); ADD_FUNCTION( "_decode", image_gd_f__decode, tFunc(tStr,tMapping), 0);
add_function( "encode", image_gd_f_encode, tFunc(tStr,tObj), 0); ADD_FUNCTION( "encode", image_gd_f_encode, tFunc(tStr,tObj), 0);
add_function( "decode_header", image_gd_f_decode_header, tFunc(tStr,tMapping), 0); ADD_FUNCTION( "decode_header", image_gd_f_decode_header, tFunc(tStr,tMapping), 0);
} }
void exit_image_avs() void exit_image_gd()
{ {
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment