From dcdb07961f4d2e92aedcd4f34732d27b653912ad Mon Sep 17 00:00:00 2001 From: Alex Palaistras Date: Sat, 28 Jan 2017 20:57:39 +0000 Subject: [PATCH] Rename base package from `engine` to `php` --- context.go | 2 +- context_test.go | 2 +- engine.go | 2 +- engine_test.go | 2 +- php5.go | 2 +- php7-debian.go | 2 +- php7-static.go | 2 +- php7.go | 2 +- receiver.go | 2 +- receiver_test.go | 2 +- value.go | 2 +- value_test.go | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/context.go b/context.go index a5edb7f..ca51427 100644 --- a/context.go +++ b/context.go @@ -2,7 +2,7 @@ // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. -package engine +package php // #cgo CFLAGS: -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM // #cgo CFLAGS: -I/usr/include/php/Zend -Iinclude diff --git a/context_test.go b/context_test.go index 580006a..a2948da 100644 --- a/context_test.go +++ b/context_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. -package engine +package php import ( "bytes" diff --git a/engine.go b/engine.go index e4e9673..b3727c1 100644 --- a/engine.go +++ b/engine.go @@ -4,7 +4,7 @@ // Package engine provides methods allowing for the initialization and teardown // of PHP engine bindings, off which execution contexts can be launched. -package engine +package php // #cgo CFLAGS: -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM // #cgo CFLAGS: -I/usr/include/php/Zend -Iinclude diff --git a/engine_test.go b/engine_test.go index 383098c..b934ed8 100644 --- a/engine_test.go +++ b/engine_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. -package engine +package php import ( "io/ioutil" diff --git a/php5.go b/php5.go index ed4d55b..ebf736b 100644 --- a/php5.go +++ b/php5.go @@ -4,7 +4,7 @@ // // +build php5 -package engine +package php // #cgo CFLAGS: -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM // #cgo CFLAGS: -I/usr/include/php5/Zend -Iinclude/php5 -Isrc/php5 diff --git a/php7-debian.go b/php7-debian.go index ec10d9a..b6dec2b 100644 --- a/php7-debian.go +++ b/php7-debian.go @@ -10,7 +10,7 @@ // +build php7 // +build debian -package engine +package php // #cgo CFLAGS: -I/usr/include/php/20151012 -Iinclude/php7 -Isrc/php7 // #cgo CFLAGS: -I/usr/include/php/20151012/main -I/usr/include/php/20151012/Zend diff --git a/php7-static.go b/php7-static.go index 9d2ee7e..9b50bef 100644 --- a/php7-static.go +++ b/php7-static.go @@ -4,7 +4,7 @@ // // +build static -package engine +package php // #cgo LDFLAGS: -ldl -lm -lssl -lcrypto -lreadline -lresolv -lpcre -lz -lxml2 import "C" diff --git a/php7.go b/php7.go index d4dc5b6..068c690 100644 --- a/php7.go +++ b/php7.go @@ -2,7 +2,7 @@ // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. -package engine +package php // #cgo CFLAGS: -Iinclude/php7 -Isrc/php7 // #cgo LDFLAGS: -lphp7 diff --git a/receiver.go b/receiver.go index 1fcdef2..2cd429b 100644 --- a/receiver.go +++ b/receiver.go @@ -2,7 +2,7 @@ // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. -package engine +package php // #cgo CFLAGS: -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM // #cgo CFLAGS: -I/usr/include/php/Zend -Iinclude diff --git a/receiver_test.go b/receiver_test.go index 7fed3d9..8c662b0 100644 --- a/receiver_test.go +++ b/receiver_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. -package engine +package php import ( "bytes" diff --git a/value.go b/value.go index 48b874a..a7d4688 100644 --- a/value.go +++ b/value.go @@ -2,7 +2,7 @@ // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. -package engine +package php // #cgo CFLAGS: -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM // #cgo CFLAGS: -I/usr/include/php/Zend -Iinclude diff --git a/value_test.go b/value_test.go index e26cdcd..76953bc 100644 --- a/value_test.go +++ b/value_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. -package engine +package php import ( "reflect"