vxworks中FUNCPTR、LOCAL、STATUS的原型

比较常见的在/target/h/vxworks.h文件中:

        LOCAL<=>static
        STATUS<=>int
        IMPORT<=>extern
        FAST<=>register

 

    FUNCPTR在文件target/h/types/vxTypesOld.h中:

    #ifdef __cplusplus
        typedef int         (*FUNCPTR) (...);    
        typedef void         (*VOIDFUNCPTR) (...);
        typedef double         (*DBLFUNCPTR) (...); 
        typedef float         (*FLTFUNCPTR) (...); 
    #else
        typedef int         (*FUNCPTR) ();      
        typedef void         (*VOIDFUNCPTR) ();
        typedef double         (*DBLFUNCPTR) (); 
        typedef float         (*FLTFUNCPTR) (); 
    #endif           


你可能感兴趣的:(float)