nxmutablestring.h 629 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include "foundation/types.h"
  3. #include "nx/nxstring.h"
  4. #include "nx/nxapi.h"
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. typedef struct nx_mutable_string_struct_t
  9. {
  10. size_t allocation_length;
  11. nx_string_t nx_string_data;
  12. } nx_mutable_string_struct_t, *nx_mutable_string_t;
  13. NX_API nx_mutable_string_t NXMutableStringCreateFromXML(const nsxml_char_t *characters, size_t num_characters);
  14. NX_API void NXMutableStringDestroy(nx_mutable_string_t mutable_string);
  15. NX_API int NXMutableStringGrowFromXML(nx_mutable_string_t mutable_string, const nsxml_char_t *characters, size_t num_characters);
  16. #ifdef __cplusplus
  17. }
  18. #endif