mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-17 04:46:49 +00:00
remove the C extension
This commit is contained in:
@@ -1,30 +0,0 @@
|
|||||||
*.sw*
|
|
||||||
.deps
|
|
||||||
Makefile
|
|
||||||
Makefile.fragments
|
|
||||||
Makefile.global
|
|
||||||
Makefile.objects
|
|
||||||
acinclude.m4
|
|
||||||
aclocal.m4
|
|
||||||
build/
|
|
||||||
config.cache
|
|
||||||
config.guess
|
|
||||||
config.h
|
|
||||||
config.h.in
|
|
||||||
config.log
|
|
||||||
config.nice
|
|
||||||
config.status
|
|
||||||
config.sub
|
|
||||||
configure
|
|
||||||
configure.in
|
|
||||||
install-sh
|
|
||||||
libtool
|
|
||||||
ltmain.sh
|
|
||||||
missing
|
|
||||||
mkinstalldirs
|
|
||||||
run-tests.php
|
|
||||||
twig.loT
|
|
||||||
.libs/
|
|
||||||
modules/
|
|
||||||
twig.la
|
|
||||||
twig.lo
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
dnl config.m4 for extension twig
|
|
||||||
|
|
||||||
PHP_ARG_ENABLE(twig, whether to enable twig support,
|
|
||||||
[ --enable-twig Enable twig support])
|
|
||||||
|
|
||||||
if test "$PHP_TWIG" != "no"; then
|
|
||||||
PHP_NEW_EXTENSION(twig, twig.c, $ext_shared)
|
|
||||||
fi
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
// vim:ft=javascript
|
|
||||||
|
|
||||||
ARG_ENABLE("twig", "Twig support", "no");
|
|
||||||
|
|
||||||
if (PHP_TWIG != "no") {
|
|
||||||
AC_DEFINE('HAVE_TWIG', 1);
|
|
||||||
EXTENSION('twig', 'twig.c');
|
|
||||||
}
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
/*
|
|
||||||
+----------------------------------------------------------------------+
|
|
||||||
| Twig Extension |
|
|
||||||
+----------------------------------------------------------------------+
|
|
||||||
| Copyright (c) 2011 Derick Rethans |
|
|
||||||
+----------------------------------------------------------------------+
|
|
||||||
| Redistribution and use in source and binary forms, with or without |
|
|
||||||
| modification, are permitted provided that the conditions mentioned |
|
|
||||||
| in the accompanying LICENSE file are met (BSD-3-Clause). |
|
|
||||||
+----------------------------------------------------------------------+
|
|
||||||
| Author: Derick Rethans <derick@derickrethans.nl> |
|
|
||||||
+----------------------------------------------------------------------+
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef PHP_TWIG_H
|
|
||||||
#define PHP_TWIG_H
|
|
||||||
|
|
||||||
#define PHP_TWIG_VERSION "1.42.5-DEV"
|
|
||||||
|
|
||||||
#include "php.h"
|
|
||||||
|
|
||||||
extern zend_module_entry twig_module_entry;
|
|
||||||
#define phpext_twig_ptr &twig_module_entry
|
|
||||||
#ifndef PHP_WIN32
|
|
||||||
zend_module_entry *get_module(void);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef ZTS
|
|
||||||
#include "TSRM.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PHP_FUNCTION(twig_template_get_attributes);
|
|
||||||
PHP_RSHUTDOWN_FUNCTION(twig);
|
|
||||||
|
|
||||||
#endif
|
|
||||||
-1217
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user