mirror of https://github.com/deuill/go-php.git
Rename base package from `engine` to `php`
This commit is contained in:
parent
7320fffdf5
commit
dcdb07961f
|
@ -2,7 +2,7 @@
|
||||||
// Use of this source code is governed by the MIT license that can be found in
|
// Use of this source code is governed by the MIT license that can be found in
|
||||||
// the LICENSE file.
|
// 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 -I/usr/include/php/main -I/usr/include/php/TSRM
|
||||||
// #cgo CFLAGS: -I/usr/include/php/Zend -Iinclude
|
// #cgo CFLAGS: -I/usr/include/php/Zend -Iinclude
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Use of this source code is governed by the MIT license that can be found in
|
// Use of this source code is governed by the MIT license that can be found in
|
||||||
// the LICENSE file.
|
// the LICENSE file.
|
||||||
|
|
||||||
package engine
|
package php
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
// Package engine provides methods allowing for the initialization and teardown
|
// Package engine provides methods allowing for the initialization and teardown
|
||||||
// of PHP engine bindings, off which execution contexts can be launched.
|
// 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 -I/usr/include/php/main -I/usr/include/php/TSRM
|
||||||
// #cgo CFLAGS: -I/usr/include/php/Zend -Iinclude
|
// #cgo CFLAGS: -I/usr/include/php/Zend -Iinclude
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Use of this source code is governed by the MIT license that can be found in
|
// Use of this source code is governed by the MIT license that can be found in
|
||||||
// the LICENSE file.
|
// the LICENSE file.
|
||||||
|
|
||||||
package engine
|
package php
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
|
2
php5.go
2
php5.go
|
@ -4,7 +4,7 @@
|
||||||
//
|
//
|
||||||
// +build php5
|
// +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 -I/usr/include/php5/main -I/usr/include/php5/TSRM
|
||||||
// #cgo CFLAGS: -I/usr/include/php5/Zend -Iinclude/php5 -Isrc/php5
|
// #cgo CFLAGS: -I/usr/include/php5/Zend -Iinclude/php5 -Isrc/php5
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
// +build php7
|
// +build php7
|
||||||
// +build debian
|
// +build debian
|
||||||
|
|
||||||
package engine
|
package php
|
||||||
|
|
||||||
// #cgo CFLAGS: -I/usr/include/php/20151012 -Iinclude/php7 -Isrc/php7
|
// #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
|
// #cgo CFLAGS: -I/usr/include/php/20151012/main -I/usr/include/php/20151012/Zend
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
//
|
//
|
||||||
// +build static
|
// +build static
|
||||||
|
|
||||||
package engine
|
package php
|
||||||
|
|
||||||
// #cgo LDFLAGS: -ldl -lm -lssl -lcrypto -lreadline -lresolv -lpcre -lz -lxml2
|
// #cgo LDFLAGS: -ldl -lm -lssl -lcrypto -lreadline -lresolv -lpcre -lz -lxml2
|
||||||
import "C"
|
import "C"
|
||||||
|
|
2
php7.go
2
php7.go
|
@ -2,7 +2,7 @@
|
||||||
// Use of this source code is governed by the MIT license that can be found in
|
// Use of this source code is governed by the MIT license that can be found in
|
||||||
// the LICENSE file.
|
// the LICENSE file.
|
||||||
|
|
||||||
package engine
|
package php
|
||||||
|
|
||||||
// #cgo CFLAGS: -Iinclude/php7 -Isrc/php7
|
// #cgo CFLAGS: -Iinclude/php7 -Isrc/php7
|
||||||
// #cgo LDFLAGS: -lphp7
|
// #cgo LDFLAGS: -lphp7
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Use of this source code is governed by the MIT license that can be found in
|
// Use of this source code is governed by the MIT license that can be found in
|
||||||
// the LICENSE file.
|
// 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 -I/usr/include/php/main -I/usr/include/php/TSRM
|
||||||
// #cgo CFLAGS: -I/usr/include/php/Zend -Iinclude
|
// #cgo CFLAGS: -I/usr/include/php/Zend -Iinclude
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Use of this source code is governed by the MIT license that can be found in
|
// Use of this source code is governed by the MIT license that can be found in
|
||||||
// the LICENSE file.
|
// the LICENSE file.
|
||||||
|
|
||||||
package engine
|
package php
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
|
2
value.go
2
value.go
|
@ -2,7 +2,7 @@
|
||||||
// Use of this source code is governed by the MIT license that can be found in
|
// Use of this source code is governed by the MIT license that can be found in
|
||||||
// the LICENSE file.
|
// 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 -I/usr/include/php/main -I/usr/include/php/TSRM
|
||||||
// #cgo CFLAGS: -I/usr/include/php/Zend -Iinclude
|
// #cgo CFLAGS: -I/usr/include/php/Zend -Iinclude
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Use of this source code is governed by the MIT license that can be found in
|
// Use of this source code is governed by the MIT license that can be found in
|
||||||
// the LICENSE file.
|
// the LICENSE file.
|
||||||
|
|
||||||
package engine
|
package php
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"reflect"
|
"reflect"
|
||||||
|
|
Loading…
Reference in New Issue