--- speech_tools/include/EST_Chunk.h 2006/06/05 00:32:45 1.1 +++ speech_tools/include/EST_Chunk.h 2006/06/05 01:41:28 @@ -103,6 +103,8 @@ /* */ /************************************************************************/ +class EST_ChunkPtr; + class EST_Chunk { public: typedef unsigned short use_counter; @@ -152,6 +154,13 @@ class EST_Chunk { /* */ /************************************************************************/ +EST_ChunkPtr chunk_allocate(int bytes); +EST_ChunkPtr chunk_allocate(int bytes, const char *initial, int initial_len); +EST_ChunkPtr chunk_allocate(int bytes, const EST_ChunkPtr &initial, int initial_start, int initial_len); + +void make_updatable(EST_ChunkPtr &shared, EST_Chunk::EST_chunk_size inuse); +void make_updatable(EST_ChunkPtr &shared); + class EST_ChunkPtr { private: EST_Chunk *ptr; --- speech_tools/include/ling_class/EST_Item.h 2006/06/05 00:39:43 1.1 +++ speech_tools/include/ling_class/EST_Item.h 2006/06/05 00:40:02 @@ -79,6 +79,9 @@ use we envisage. Traversal of the items */ +class EST_Item; +int same_item(const EST_Item *l1,const EST_Item *l2); + class EST_Item { private: --- ./speech_tools/base_class/EST_Pathname_unix.cc 2006/06/05 00:59:34 1.1 +++ ./speech_tools/base_class/EST_Pathname_unix.cc 2006/06/05 01:19:16 @@ -89,7 +89,7 @@ EST_Pathname EST_Pathname::as_directory( return *this; if (length() > 0) - return ::operator +(EST_String(*this), "/"); + return EST_String(*this) + "/"; return "./"; } --- festival/src/modules/clunits/clunits.h 2006/06/05 01:58:30 1.1 +++ festival/src/modules/clunits/clunits.h 2006/06/05 01:58:47 @@ -83,9 +83,9 @@ class CLDB { CLfile *get_fileitem(const EST_String &name) { return (CLfile *)fileindex.lookup(name); } void load_coefs_sig(EST_Item *unit); - CLfile *CLDB::get_file_coefs_sig(const EST_String &fileid); + CLfile *get_file_coefs_sig(const EST_String &fileid); void load_join_coefs(CLunit *unit); - CLfile *CLDB::get_file_join_coefs(const EST_String &fileid); + CLfile *get_file_join_coefs(const EST_String &fileid); }; --- festival/src/modules/MultiSyn/EST_JoinCostCache.h 2006/06/05 02:00:28 1.1 +++ festival/src/modules/MultiSyn/EST_JoinCostCache.h 2006/06/05 02:00:57 @@ -56,11 +56,11 @@ /** Object oriented approach for better and for worse... */ +#include #include "EST_TList.h" #include "ling_class/EST_Item.h" class EST_JoinCost; -class ostream; class EST_JoinCostCache { public: