general/misc/
ptr_extract.pro
Routines
top source ptr_extract
result = ptr_extract(p, exceptptrs=exceptptrs)
NAME: ptr_extract Function: ptrs = ptr_extract(p,EXCEPT=EXCEPT) Purpose: Recursively searches the input (of any type) and returns an array of all pointers found. This is useful for freeing pointers contained within some complicated structure heirachy or pointer list. if no pointers are found then a scaler null pointer is returned. This routine ignores object pointers! Keywords: EXCEPTPTRS = an array of pointers that should not be included in the output. Created by Davin Larson. May 2002.
Parameters
- p
Keywords
- exceptptrs
File attributes
Modification date: | Thu Feb 13 16:43:47 2014 |
Lines: | 26 |