CVS update: php3/functions

From: Date: Wed, 06 Jan 1999 07:17:27 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-3321@lists.php.net to get a copy of this message
Date: Wednesday January 6, 1999 @ 2:17 Author: fmk Update of /repository/php3/functions In directory asf:/u/temp/cvs-serv10090 Modified Files: string.c php3_string.h Log Message: Making _php3_char_to_str callable from other (dll) functions Index: php3/functions/string.c diff -c php3/functions/string.c:1.169 php3/functions/string.c:1.170 *** php3/functions/string.c:1.169 Tue Jan 5 11:34:09 1999 --- php3/functions/string.c Wed Jan 6 02:17:26 1999 *************** *** 30,36 **** */ ! /* $Id: string.c,v 1.169 1999/01/05 16:34:09 sas Exp $ */ #ifdef THREAD_SAFE #include "tls.h" #endif --- 30,36 ---- */ ! /* $Id: string.c,v 1.170 1999/01/06 07:17:26 fmk Exp $ */ #ifdef THREAD_SAFE #include "tls.h" #endif *************** *** 1273,1279 **** #define _isblank(c) (((((unsigned char) c)==' ' || ((unsigned char) c)=='\t')) ? 1 : 0) #define _isnewline(c) (((((unsigned char) c)=='\n' || ((unsigned char) c)=='\r')) ? 1 : 0) ! static void _php3_char_to_str(char *str,uint len,char from,char *to,int to_len,pval *result) { int char_count=0; char *source,*target,*tmp,*source_end=str+len, *tmp_end=NULL; --- 1273,1279 ---- #define _isblank(c) (((((unsigned char) c)==' ' || ((unsigned char) c)=='\t')) ? 1 : 0) #define _isnewline(c) (((((unsigned char) c)=='\n' || ((unsigned char) c)=='\r')) ? 1 : 0) ! PHPAPI void _php3_char_to_str(char *str,uint len,char from,char *to,int to_len,pval *result) { int char_count=0; char *source,*target,*tmp,*source_end=str+len, *tmp_end=NULL; Index: php3/functions/php3_string.h diff -c php3/functions/php3_string.h:1.30 php3/functions/php3_string.h:1.31 *** php3/functions/php3_string.h:1.30 Mon Jan 4 12:29:15 1999 --- php3/functions/php3_string.h Wed Jan 6 02:17:27 1999 *************** *** 29,35 **** */ ! /* $Id: php3_string.h,v 1.30 1999/01/04 17:29:15 fmk Exp $ */ #ifndef _PHPSTRING_H #define _PHPSTRING_H --- 29,35 ---- */ ! /* $Id: php3_string.h,v 1.31 1999/01/06 07:17:27 fmk Exp $ */ #ifndef _PHPSTRING_H #define _PHPSTRING_H *************** *** 98,102 **** --- 98,103 ---- extern PHPAPI char *_php3_str_to_str(char *haystack, int length, char *needle, int needle_len, char *str, int str_len, int *_new_length); + extern PHPAPI void _php3_char_to_str(char *str,uint len,char from,char *to,int to_len,pval *result); #endif /* _PHPSTRING_H */ -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3321) next »