From f0e9e3ace94c82fab78ab1d4ee8c3042f3e94fdf Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 31 Aug 2017 00:42:16 +0300 Subject: nginext has been renamed to unit. --- src/nginext/cbytes-1.6.go | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/nginext/cbytes-1.6.go (limited to 'src/nginext/cbytes-1.6.go') diff --git a/src/nginext/cbytes-1.6.go b/src/nginext/cbytes-1.6.go deleted file mode 100644 index 7686dad8..00000000 --- a/src/nginext/cbytes-1.6.go +++ /dev/null @@ -1,15 +0,0 @@ -// +build !go1.7 - -/* - * Copyright (C) Max Romanov - * Copyright (C) NGINX, Inc. - */ - -package nginext - -import "C" -import "unsafe" - -func getCBytes(p []byte) unsafe.Pointer { - return unsafe.Pointer(C.CString(string(p))) // go <= 1.6 -} -- cgit