Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion env.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package frankenphp

// #include "frankenphp.h"
// #include "types.h"
// #include "frankenphp_types.h"
import "C"
import (
"os"
Expand Down
4 changes: 2 additions & 2 deletions types.h → frankenphp_types.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef TYPES_H
#define TYPES_H
#ifndef _FRANKENPHP_TYPES_H
#define _FRANKENPHP_TYPES_H

#include "frankenphp.h"
#include <Zend/zend.h>
Expand Down
2 changes: 1 addition & 1 deletion types.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "types.h"
#include "frankenphp_types.h"

zval *get_ht_packed_data(HashTable *ht, uint32_t index) {
if (ht->u.flags & HASH_FLAG_PACKED) {
Expand Down
2 changes: 1 addition & 1 deletion types.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package frankenphp
#cgo noescape __zval_arr__
#cgo noescape __emalloc__
#cgo noescape __efree__
#include "types.h"
#include "frankenphp_types.h"
*/
import "C"
import (
Expand Down
Loading