Skip to content

Commit 3ab212b

Browse files
committed
Remove deprecated functions and macros
1 parent bacf65c commit 3ab212b

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

extlib.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,6 @@ void assert(int c); // TODO: are we sure we want to require wasm embedder to pr
366366
// }
367367
// ```
368368
#define ext_defer_loop(begin, end) for(int i__ = ((begin), 0); i__ != 1; i__ = ((end), 1))
369-
#define EXT_DEFER_LOOP ext_defer_loop
370369

371370
// Assigns passed in value to variable, and jumps to label.
372371
//
@@ -605,12 +604,6 @@ inline void *ext_memdup(const void *mem, size_t size) {
605604
return ext_allocator_memdup(ext_context->alloc, mem, size);
606605
}
607606

608-
// Backward compatibility: old _alloc suffix functions now use ext_allocator_* internally
609-
// Note: parameter order changed - allocator is now first parameter
610-
// DEPRECATED: Use ext_allocator_strdup and ext_allocator_memdup instead
611-
#define ext_strdup_alloc(s, a) ext_allocator_strdup(a, s)
612-
#define ext_memdup_alloc(mem, size, a) ext_allocator_memdup(a, mem, size)
613-
614607
// A default allocator that uses malloc/realloc/free.
615608
// It is the allocator configured in the context at program start.
616609
typedef struct Ext_DefaultAllocator {

0 commit comments

Comments
 (0)