Now the pointer_type information of a storeage
[fw/sdcc] / src / SDCCmem.h
index 7a5517c359b296e9aac9636d42b2f39129a12e2e..6f10c4e165f074676afb66c51c67019c2caf86b6 100644 (file)
@@ -63,6 +63,8 @@ extern   struct  set     *ovrSetSets;
 #define IN_DIRSPACE(map)        (map && map->direct)
 #define IN_PAGEDSPACE(map)      (map && map->paged )
 #define IN_CODESPACE(map)       (map && map->codesp)
+#define PTR_TYPE(map)           (map ? (map->ptrType ? map->ptrType : POINTER)\
+                                     : GPOINTER)
 
 /* forward decls for functions    */
 memmap     *allocMap       (char,char,char,char,char,char,unsigned, const char *,char,int );