From 9775c8a1c5d37febb074bfddc939e8a69410003d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sat, 27 Feb 1999 18:20:07 +0100 Subject: [PATCH] Moved PCHARP to global.h to avoid circular dependancies. Rev: src/stralloc.h:1.31 --- src/stralloc.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/stralloc.h b/src/stralloc.h index db570ed01b..7ff9ad08a6 100644 --- a/src/stralloc.h +++ b/src/stralloc.h @@ -5,7 +5,7 @@ \*/ /* - * $Id: stralloc.h,v 1.30 1999/02/27 00:31:39 grubba Exp $ + * $Id: stralloc.h,v 1.31 1999/02/27 17:20:07 grubba Exp $ */ #ifndef STRALLOC_H #define STRALLOC_H @@ -64,12 +64,6 @@ struct pike_string *debug_findstring(const struct pike_string *foo); #define EXTRACT_CHARP(PTR,SHIFT) INDEX_CHARP((PTR),0,(SHIFT)) #define CHARP_ADD(PTR,X,SHIFT) (PTR)+=(X)<<(SHIFT) -typedef struct p_wchar_p -{ - char *ptr; - int shift; -} PCHARP; - #define INDEX_PCHARP(X,Y) INDEX_CHARP((X).ptr,(Y),(X).shift) #define SET_INDEX_PCHARP(X,Y,Z) INDEX_CHARP((X).ptr,(Y),(X).shift,(Z)) #define EXTRACT_PCHARP(X) INDEX_CHARP((X).ptr,(0),(X).shift) -- GitLab