@staticmethod
    def cf_number_from_integer(integer):

        integer_as_long = ffi.new('long *', integer)
        return CoreFoundation.CFNumberCreate(
            CoreFoundation.kCFAllocatorDefault,
            kCFNumberCFIndexType,
            integer_as_long
        )
Creates a CFNumber object from an integer
dataset/ETHPy150Open wbond/oscrypto/oscrypto/_osx/_core_foundation_cffi.py/CFHelpers.cf_number_from_integer