cvs: php4 /main fopen_wrappers.h spprintf.h

From: Date: Mon, 20 May 2002 01:32:49 +0000
Subject: cvs: php4 /main fopen_wrappers.h spprintf.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12008@lists.php.net to get a copy of this message
wez Sun May 19 21:32:49 2002 EDT Modified files: /php4/main fopen_wrappers.h spprintf.h Log: Protect C code with extern "C" Index: php4/main/fopen_wrappers.h diff -u php4/main/fopen_wrappers.h:1.36 php4/main/fopen_wrappers.h:1.37 --- php4/main/fopen_wrappers.h:1.36 Sun Mar 17 09:21:00 2002 +++ php4/main/fopen_wrappers.h Sun May 19 21:32:48 2002 @@ -15,11 +15,12 @@ | Author: Jim Winstead <jimw@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: fopen_wrappers.h,v 1.36 2002/03/17 14:21:00 wez Exp $ */ +/* $Id: fopen_wrappers.h,v 1.37 2002/05/20 01:32:48 wez Exp $ */ #ifndef FOPEN_WRAPPERS_H #define FOPEN_WRAPPERS_H +BEGIN_EXTERN_C() #include "php_globals.h" PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle TSRMLS_DC); @@ -34,6 +35,7 @@ PHPAPI int php_is_url(char *path); PHPAPI char *php_strip_url_passwd(char *path); +END_EXTERN_C() #endif /* Index: php4/main/spprintf.h diff -u php4/main/spprintf.h:1.2 php4/main/spprintf.h:1.3 --- php4/main/spprintf.h:1.2 Mon Apr 15 18:22:53 2002 +++ php4/main/spprintf.h Sun May 19 21:32:48 2002 @@ -21,9 +21,11 @@ #include "snprintf.h" +BEGIN_EXTERN_C() extern int spprintf( char **pbuf, size_t max_len, const char *format, ...); PHPAPI extern int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap); +END_EXTERN_C() #endif /* SNPRINTF_H */

« previous php.cvs (#12008) next »