The Machine Perception Toolbox

[Introduction]- [News]- [Download]- [Screenshots]- [Manual (pdf)]- [Forums]- [API Reference]- [Repository ]

 

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

strings.h

Go to the documentation of this file.
00001 #ifndef STRINGS_DWA20011024_H
00002 # define STRINGS_DWA20011024_H
00003 
00004 # include <stddef.h>
00005 
00006 typedef struct string
00007 {
00008     char* value;
00009     unsigned long size;
00010     unsigned long capacity;
00011     char opt[32];
00012 #ifndef NDEBUG
00013     char magic[4];
00014 #endif
00015 } string;
00016 
00017 void string_new( string* );
00018 void string_copy( string*, char* );
00019 void string_free( string* );
00020 void string_append( string*, char* );
00021 void string_append_range( string*, char*, char* );
00022 void string_push_back( string* s, char x );
00023 void string_reserve( string*, size_t );
00024 void string_truncate( string*, size_t );
00025 void string_pop_back( string* );
00026 char string_back( string* );
00027 void string_unit_test();
00028 
00029 #endif
00030 

Generated on Mon Nov 8 17:07:52 2004 for MPT by  doxygen 1.3.9.1