| 1 |
// Copyright The OpenTelemetry Authors |
| 2 |
// SPDX-License-Identifier: Apache-2.0 |
| 3 |
|
| 4 |
// Code generated by "internal/cmd/pdatagen/main.go". DO NOT EDIT. |
| 5 |
// To regenerate this file run "make genpdata". |
| 6 |
|
| 7 |
package internal |
| 8 |
|
| 9 |
type Int64SliceWrapper struct { |
| 10 |
orig *[]int64 |
| 11 |
state *State |
| 12 |
} |
| 13 |
|
| 14 |
func GetInt64SliceOrig(ms Int64SliceWrapper) *[]int64 { |
| 15 |
return ms.orig |
| 16 |
} |
| 17 |
|
| 18 |
func GetInt64SliceState(ms Int64SliceWrapper) *State { |
| 19 |
return ms.state |
| 20 |
} |
| 21 |
|
| 22 |
func NewInt64SliceWrapper(orig *[]int64, state *State) Int64SliceWrapper { |
| 23 |
return Int64SliceWrapper{orig: orig, state: state} |
| 24 |
} |
| 25 |
|
| 26 |
func GenTestInt64SliceWrapper() Int64SliceWrapper { |
| 27 |
orig := []int64{1, 2, 3} |
| 28 |
return NewInt64SliceWrapper(&orig, NewState()) |
| 29 |
} |
| 30 |
|
| 31 |
func GenTestInt64Slice() []int64 { |
| 32 |
return []int64{1, 2, 3} |
| 33 |
} |