summaryrefslogblamecommitdiffhomepage
path: root/src/nginext/cbytes-1.7.go
blob: e7d92f04e4e4e7853c21c19aca24b948b0121dad (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                         
// +build go1.7

/*
 * Copyright (C) Max Romanov
 * Copyright (C) NGINX, Inc.
 */

package nginext

import "C"
import "unsafe"

func getCBytes(p []byte) unsafe.Pointer {
	return C.CBytes(p) // go >= 1.7
}