Menu

[d59cce]: / webp / swig / libwebp.go  Maximize  Restore  History

Download this file

46 lines (35 with data), 1.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.10
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
package libwebp
import _ "runtime/cgo"
import "unsafe"
type _ unsafe.Pointer
type _swig_fnptr *byte
type _swig_memberptr *byte
//extern libwebpSwigCgocall
func SwigCgocall()
//extern libwebpSwigCgocallDone
func SwigCgocallDone()
//extern libwebpSwigCgocallBack
func SwigCgocallBack()
//extern libwebpSwigCgocallBackDone
func SwigCgocallBackDone()
func WebPGetDecoderVersion() int
func Wrapped_WebPGetInfo(string, []int, []int) int
// WebPGetInfo has 2 output parameters, provide a version in the more natural
// go idiom:
func WebPGetInfo(webp []byte) (ok bool, width int, height int) {
w := []int{0}
h := []int{0}
ok = Wrapped_WebPGetInfo(string(webp), w, h) != 0
width = w[0]
height = h[0]
return
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.