diff options
author | David Phillips <david@sighup.nz> | 2017-02-12 19:52:42 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-02-12 19:52:42 +1300 |
commit | 49de0b81e712bad40753ff648adad8d0bd28b6bd (patch) | |
tree | 08c479192ba85c3b2fa76800dc88132d6c3bd035 | |
parent | c1e3d06a25f8c243457e2516310dd2305ea5a07d (diff) | |
download | fractal-gen-opencl-49de0b81e712bad40753ff648adad8d0bd28b6bd.tar.xz |
Stricter prototypes in trampoline header
-rw-r--r-- | trampoline.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/trampoline.h b/trampoline.h index 238980d..3fe983c 100644 --- a/trampoline.h +++ b/trampoline.h @@ -1,8 +1,8 @@ -int tramp_init(); -void tramp_destroy(); +int tramp_init(void); +void tramp_destroy(void); int tramp_load_kernel(const char *filename); -char *tramp_get_build_log(); -int tramp_compile_kernel(); -int tramp_set_kernel_args(); -int tramp_run_kernel(); -int tramp_copy_data(); +char *tramp_get_build_log(void); +int tramp_compile_kernel(void); +int tramp_set_kernel_args(unsigned long *size, unsigned long *iterations); +int tramp_run_kernel(void); +int tramp_copy_data(void **buffer, size_t size); |