| 1 | // Code generated by 'yaegi extract compress/gzip'. DO NOT EDIT. |
| 2 | |
| 3 | //go:build go1.22 |
| 4 | // +build go1.22 |
| 5 | |
| 6 | package stdlib |
| 7 | |
| 8 | import ( |
| 9 | "compress/gzip" |
| 10 | "go/constant" |
| 11 | "go/token" |
| 12 | "reflect" |
| 13 | ) |
| 14 | |
| 15 | func init() { |
| 16 | Symbols["compress/gzip/gzip"] = map[string]reflect.Value{ |
| 17 | // function, constant and variable definitions |
| 18 | "BestCompression": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), |
| 19 | "BestSpeed": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), |
| 20 | "DefaultCompression": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), |
| 21 | "ErrChecksum": reflect.ValueOf(&gzip.ErrChecksum).Elem(), |
| 22 | "ErrHeader": reflect.ValueOf(&gzip.ErrHeader).Elem(), |
| 23 | "HuffmanOnly": reflect.ValueOf(constant.MakeFromLiteral("-2", token.INT, 0)), |
| 24 | "NewReader": reflect.ValueOf(gzip.NewReader), |
| 25 | "NewWriter": reflect.ValueOf(gzip.NewWriter), |
| 26 | "NewWriterLevel": reflect.ValueOf(gzip.NewWriterLevel), |
| 27 | "NoCompression": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), |
| 28 | |
| 29 | // type definitions |
| 30 | "Header": reflect.ValueOf((*gzip.Header)(nil)), |
| 31 | "Reader": reflect.ValueOf((*gzip.Reader)(nil)), |
| 32 | "Writer": reflect.ValueOf((*gzip.Writer)(nil)), |
| 33 | } |
| 34 | } |