summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-12-07 13:48:06 +0100
committerJo-Philipp Wich <jo@mein.io>2021-12-07 13:49:29 +0100
commit0d29b2558987eda5d8a913638f40d506172606ac (patch)
treea72710c311f0a86862adc62be21d9f29087dbce5 /include
parent5680fab214cd35a54636d5dfb95dc552d1258144 (diff)
treewide: fix "resource" misspellings
Fix various misspelling of "resource". This commit changes the exported libucode ABI. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'include')
-rw-r--r--include/ucode/lib.h2
-rw-r--r--include/ucode/types.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/ucode/lib.h b/include/ucode/lib.h
index a033dfd..4b70635 100644
--- a/include/ucode/lib.h
+++ b/include/ucode/lib.h
@@ -60,7 +60,7 @@ _uc_fn_arg(uc_vm_t *vm, size_t nargs, size_t n)
#define uc_value_pop() uc_vm_stack_pop(vm)
-/* ressource type helper */
+/* resource type helper */
static inline uc_value_t *
uc_resource_new(uc_resource_type_t *type, void *data)
diff --git a/include/ucode/types.h b/include/ucode/types.h
index 4a3ccd7..ccb0e1b 100644
--- a/include/ucode/types.h
+++ b/include/ucode/types.h
@@ -40,7 +40,7 @@ typedef enum uc_type {
UC_CFUNCTION,
UC_CLOSURE,
UC_UPVALUE,
- UC_RESSOURCE
+ UC_RESOURCE
} uc_type_t;
typedef struct uc_value {