cffi.CDefError: cannot parse "Jabra_GetVersion(char* const version, int count);" :629:3: before: Jabra_GetVersion

I am trying to use cffi module to create a wrapper in python for a C based SDK. but when I run the program I get the error :1:1: Directives not supported yet because there are many #Directives inside the file.

Link to My Code

In order to remove the directives I used an example of cffi

from  cffi import *
import os

ffi = FFI()

with open(os.path.join(os.path.dirname(__file__), "Common.h"),encoding="utf8") as f:
    data = ''.join([line for line in f if not line.startswith('#')])
    data = data.replace('LIBRARY_API', '')
    data= data.replace("Jabra_ReturnCode",'')

    r'#include "Common.h"', 
    library_dirs=["c:\\Users\\tazee\\Documents\\jabra sdk\\library\\x64\\"]


Now this throws an error raise ParseError("%s: %s" % (coord, msg)) pycparser.plyparser.ParseError: :629:3: before: Jabra_GetVersion

During handling of the above exception, another exception occurred:

cffi.CDefError: cannot parse “Jabra_GetVersion(char* const version, int count);” :629:3: before: Jabra_GetVersion