go-libwebp

Experimental translation from libwebp to Go source.
Log | Files | Refs | README | LICENSE

libwebp_gc.c (1468B)


      1 /* ----------------------------------------------------------------------------
      2  * This file was automatically generated by SWIG (http://www.swig.org).
      3  * Version 2.0.10
      4  *
      5  * This file is not intended to be easily readable and contains a number of
      6  * coding conventions designed to improve portability and efficiency. Do not make
      7  * changes to this file unless you know what you are doing--modify the SWIG
      8  * interface file instead.
      9  * ----------------------------------------------------------------------------- */
     10 
     11 /* This file should be compiled with 6c/8c.  */
     12 #pragma dynimport _ _ "libwebp_go.so"
     13 
     14 #include "runtime.h"
     15 #include "cgocall.h"
     16 
     17 #ifdef _64BIT
     18 #define SWIG_PARM_SIZE 8
     19 #else
     20 #define SWIG_PARM_SIZE 4
     21 #endif
     22 
     23 #pragma dynimport _wrap_WebPGetDecoderVersion _wrap_WebPGetDecoderVersion ""
     24 extern void (*_wrap_WebPGetDecoderVersion)(void*);
     25 static void (*x_wrap_WebPGetDecoderVersion)(void*) = _wrap_WebPGetDecoderVersion;
     26 
     27 void
     28 ·WebPGetDecoderVersion(struct {
     29   uint8 x[SWIG_PARM_SIZE];
     30 } p)
     31 
     32 {
     33   runtime·cgocall(x_wrap_WebPGetDecoderVersion, &p);
     34 }
     35 
     36 
     37 
     38 #pragma dynimport _wrap_wrapped_WebPGetInfo _wrap_wrapped_WebPGetInfo ""
     39 extern void (*_wrap_wrapped_WebPGetInfo)(void*);
     40 static void (*x_wrap_wrapped_WebPGetInfo)(void*) = _wrap_wrapped_WebPGetInfo;
     41 
     42 void
     43 ·Wrapped_WebPGetInfo(struct {
     44   uint8 x[(2 * SWIG_PARM_SIZE) + (3 * SWIG_PARM_SIZE) + (3 * SWIG_PARM_SIZE) + SWIG_PARM_SIZE];
     45 } p)
     46 
     47 {
     48   runtime·cgocall(x_wrap_wrapped_WebPGetInfo, &p);
     49 }
     50 
     51 
     52