From a7871d24cdcd08c782a3165203ce3e4e76042344 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Fri, 8 May 2020 13:50:29 -0700 Subject: Experimental resubstitution. --- src/misc/vec/vecPtr.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/misc/vec') diff --git a/src/misc/vec/vecPtr.h b/src/misc/vec/vecPtr.h index ed2a481e..adc2f68e 100644 --- a/src/misc/vec/vecPtr.h +++ b/src/misc/vec/vecPtr.h @@ -651,6 +651,12 @@ static inline void Vec_PtrPushTwo( Vec_Ptr_t * p, void * Entry1, void * Entry2 ) Vec_PtrPush( p, Entry1 ); Vec_PtrPush( p, Entry2 ); } +static inline void Vec_PtrAppend( Vec_Ptr_t * vVec1, Vec_Ptr_t * vVec2 ) +{ + void * Entry; int i; + Vec_PtrForEachEntry( void *, vVec2, Entry, i ) + Vec_PtrPush( vVec1, Entry ); +} /**Function************************************************************* -- cgit v1.2.3