Add cfw_string_find().

This commit is contained in:
Jonathan Schleifer 2012-04-08 23:10:39 +02:00
parent e3a666226b
commit 6f0f55365b
3 changed files with 29 additions and 0 deletions

View file

@ -28,6 +28,7 @@
#define __COREFW_STRING_H__
#include "class.h"
#include "range.h"
typedef struct CFWString CFWString;
extern CFWClass *cfw_string;
@ -35,5 +36,6 @@ extern const char* cfw_string_c(CFWString*);
extern size_t cfw_string_len(CFWString*);
extern bool cfw_string_set(CFWString*, const char*);
extern bool cfw_string_append(CFWString*, CFWString*);
extern size_t cfw_string_find(CFWString*, CFWString*, cfw_range_t);
#endif