From 4d891eb91cd0556e05a2022c4120d776ca772f69 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 2 Dec 2005 13:07:02 +0100 Subject: WL1034 update for latest 5.1 sources BUILD/SETUP.sh: for now no optimizations in debug build - get rid of "value optimized out" --- include/my_sys.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/my_sys.h') diff --git a/include/my_sys.h b/include/my_sys.h index 44fe383bf4f..a814b7f66f6 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -751,6 +751,7 @@ extern void get_dynamic(DYNAMIC_ARRAY *array,gptr element,uint array_index); extern void delete_dynamic(DYNAMIC_ARRAY *array); extern void delete_dynamic_element(DYNAMIC_ARRAY *array, uint array_index); extern void freeze_size(DYNAMIC_ARRAY *array); +extern int get_index_dynamic(DYNAMIC_ARRAY *array, gptr element); #define dynamic_array_ptr(array,array_index) ((array)->buffer+(array_index)*(array)->size_of_element) #define dynamic_element(array,array_index,type) ((type)((array)->buffer) +(array_index)) #define push_dynamic(A,B) insert_dynamic(A,B) -- cgit v1.2.1