#!/usr/bin/env python3

import platform

from cffi import FFI

ffi = FFI()
lib = ffi.dlopen("./libopencl_find_deal_idx." +
                 ("dll" if (platform.system() == 'Windows') else "so"))

ffi.cdef('''
void * fc_solve_user__opencl_create();
long long fc_solve_user__opencl_find_deal(
    void * obj, int first_int, int myints[]);
int fc_solve_user__opencl_release(void * obj);
''')
