better type check for type-def's
[fw/sdcc] / src / port.h
index db0eda65796de2a2baf4500b269e5ee6b5df5880..9bf97e4959a0c5cee4144d69ac46274149e7a780 100644 (file)
@@ -63,6 +63,8 @@ typedef struct
        const char *plain_opts;
        /* print externs as global */
        int externGlobal;
+       /* assembler file extension */
+       const char *file_ext;
       }
     assembler;
 
@@ -146,7 +148,7 @@ typedef struct
        /** One more than the smallest 
            mul/div operation the processor can do nativley 
            Eg if the processor has an 8 bit mul, nativebelow is 2 */
-       int native_below;
+       unsigned native_below;
        /** The mul/div/mod functions will be made to use regparams
            for sizeof(param) < log2(force_reg)
            i.e. Use 2 for WORD and BYTE, 0 for none. */
@@ -199,6 +201,10 @@ typedef struct
     */
     int (*process_pragma) (const char *sz);
 
+    /** Mangles a support function name to reflect the calling model. 
+     */
+    char *(*getMangledFunctionName) (char *szOrginial);
+
     /** If TRUE, then tprintf and !dw will be used for some initalisers
      */
     bool use_dw_for_init;
@@ -244,4 +250,4 @@ extern PORT i186_port;
 extern PORT tlcs900h_port;
 #endif
 
-#endif PORT_INCLUDE
+#endif /* PORT_INCLUDE*/