OODuck  0.5
C Oriented Object framework with duck-typing support
string.h
1 /* string.h -- This file is part of ooduck
2  *
3  * Copyright (C) 2015 David Delassus <david.jose.delassus@gmail.com>
4  *
5  * This software may be modified and distributed under the terms
6  * of the MIT license. See the LICENSE file for details.
7  */
8 
9 #ifndef __OODUCK_STRING_H
10 #define __OODUCK_STRING_H
11 
12 #include <ooduck/object.h>
13 
24 OODUCK_DECLARE_CLASS (String);
25 
44 typedef void * (*String_copy_m) (const void *);
45 
56 typedef void (*String_format_m) (void *, const char *, ...);
57 
65 typedef size_t (*String_len_m) (const void *);
66 
74 typedef const char * (*String_cstr_m) (const void *);
75 
76 #endif /* __OODUCK_STRING_H */
String utility class.
Definition: string.h:16