def mkl_threads_text():
 header = '\n    extern "C"\n    {\n        int     MKL_Set_Num_Threads_Local(int);\n        #define mkl_set_num_threads_local   MKL_Set_Num_Threads_Local\n\n        void    MKL_Set_Num_Threads(int);\n        #define mkl_set_num_threads         MKL_Set_Num_Threads\n\n        int     MKL_Get_Max_Threads(void);\n        #define mkl_get_max_threads         MKL_Get_Max_Threads\n\n        int     MKL_Domain_Set_Num_Threads(int, int);\n        #define mkl_domain_set_num_threads  MKL_Domain_Set_Num_Threads\n\n        int     MKL_Domain_Get_Max_Threads(int);\n        #define mkl_domain_get_max_threads  MKL_Domain_Get_Max_Threads\n\n        void    MKL_Set_Dynamic(int);\n        #define mkl_set_dynamic             MKL_Set_Dynamic\n\n        int     MKL_Get_Dynamic(void);\n        #define mkl_get_dynamic             MKL_Get_Dynamic\n    }\n    '
 return header

def mkl_threads_text ( ) : header = '\n    extern "C"\n    {\n        int     MKL_Set_Num_Threads_Local(int);\n        #define mkl_set_num_threads_local   MKL_Set_Num_Threads_Local\n\n        void    MKL_Set_Num_Threads(int);\n        #define mkl_set_num_threads         MKL_Set_Num_Threads\n\n        int     MKL_Get_Max_Threads(void);\n        #define mkl_get_max_threads         MKL_Get_Max_Threads\n\n        int     MKL_Domain_Set_Num_Threads(int, int);\n        #define mkl_domain_set_num_threads  MKL_Domain_Set_Num_Threads\n\n        int     MKL_Domain_Get_Max_Threads(int);\n        #define mkl_domain_get_max_threads  MKL_Domain_Get_Max_Threads\n\n        void    MKL_Set_Dynamic(int);\n        #define mkl_set_dynamic             MKL_Set_Dynamic\n\n        int     MKL_Get_Dynamic(void);\n        #define mkl_get_dynamic             MKL_Get_Dynamic\n    }\n    ' return header
c header for mkl threads interface .