We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d394dd commit 094c93bCopy full SHA for 094c93b
LookupTable/generate_cube.c
@@ -13,10 +13,10 @@
13
#include <stdio.h>
14
#include <stdlib.h>
15
16
-typedef uint32_t (*lut_func_t)(uint32_t);
+typedef uint32_t (*lut_fn_t)(uint32_t);
17
18
// Function to generate a LUT dynamically
19
-uint32_t* generate_lut(size_t size, lut_func_t func) {
+uint32_t* generate_lut(size_t size, lut_fn_t func) {
20
uint32_t* table = malloc(size * sizeof(uint32_t));
21
if (table == NULL) {
22
return NULL;
0 commit comments