File: universe.golden

package info (click to toggle)
golang-golang-x-mobile 0.0~git20251126.5c265dc-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,836 kB
  • sloc: objc: 1,536; java: 1,489; ansic: 1,159; xml: 365; asm: 34; sh: 14; makefile: 5
file content (43 lines) | stat: -rw-r--r-- 861 bytes parent folder | download
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
// Code generated by gobind. DO NOT EDIT.

// Package main is an autogenerated binder stub for package universe.
//
//   autogenerated by gobind -lang=go
package main

/*
#include <stdlib.h>
#include <stdint.h>
#include "seq.h"
#include "universe.h"

*/
import "C"

import (
	_seq "golang.org/x/mobile/bind/seq"
)

// suppress the error if seq ends up unused
var _ = _seq.FromRefNum

//export proxy_error_Error
func proxy_error_Error(refnum C.int32_t) C.nstring {
	ref := _seq.FromRefNum(int32(refnum))
	v := ref.Get().(error)
	res_0 := v.Error()
	_res_0 := encodeString(res_0)
	return _res_0
}

type proxy_error _seq.Ref

func (p *proxy_error) Bind_proxy_refnum__() int32 {
	return (*_seq.Ref)(p).Bind_IncNum()
}

func (p *proxy_error) Error() string {
	res := C.cproxy_error_Error(C.int32_t(p.Bind_proxy_refnum__()))
	_res := decodeString(res)
	return _res
}