mirror of
https://gitlab.com/80486DX2-66/gists
synced 2025-05-31 08:31:41 +05:30
str_replace.*: fix the count bug, add a constant
This commit is contained in:
@ -8,6 +8,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define STR_REPLACE_ALL 0
|
||||
|
||||
char* str_replace(
|
||||
const char* str,
|
||||
const char* substr,
|
||||
|
Reference in New Issue
Block a user