2 * Copyright 2014 Google Inc.
3 * Copyright 2015 Xamarin Inc.
4 * Copyright 2017 Microsoft Corporation. All rights reserved.
6 * Use of this source code is governed by a BSD-style license that can be
7 * found in the LICENSE file.
10 #ifndef sk_string_DEFINED
11 #define sk_string_DEFINED
15 SK_C_PLUS_PLUS_BEGIN_GUARD
17 SK_C_API sk_string_t* sk_string_new_empty(void);
18 SK_C_API sk_string_t* sk_string_new_with_copy(const char* src, size_t length);
19 SK_C_API void sk_string_destructor(const sk_string_t*);
20 SK_C_API size_t sk_string_get_size(const sk_string_t*);
21 SK_C_API const char* sk_string_get_c_str(const sk_string_t*);
23 SK_C_PLUS_PLUS_END_GUARD