X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fflower-proto.hh;h=43ca4df6893abdbfadb00f39aa18051e8a8def5b;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=650622eef9e1269f9b29cea227e29d12d4d1161f;hpb=9d4a5bbc9687aef811a60aabd9cb839412984e96;p=lilypond.git diff --git a/flower/include/flower-proto.hh b/flower/include/flower-proto.hh index 650622eef9..43ca4df689 100644 --- a/flower/include/flower-proto.hh +++ b/flower/include/flower-proto.hh @@ -1,8 +1,7 @@ - /* - fflower-proto.hh -- typenames in flowerlib + flower-proto.hh -- typenames in flowerlib - (c) 1996--2006 Han-Wen Nienhuys + (c) 1996--2008 Han-Wen Nienhuys */ #ifndef FLOWER_PROTO_HH @@ -10,27 +9,18 @@ char const *flower_version_str0 (); -template struct Assoc; -template struct Hash_table; -template struct Hash_table_iter; - typedef unsigned char Byte; -namespace std { - struct String_data; - struct String_handle; - //template struct Array; - template struct Link_array; -} +typedef long long I64; struct String_convert; #include "std-string.hh" -#include "std-vector.hh" +using namespace std; + #include "real.hh" -template struct Link_list; template struct Interval_t; template struct PQueue; - +template class Matrix; typedef Interval_t Interval; @@ -41,24 +31,18 @@ class File_name; class File_path; struct Getopt_long; -struct Text_stream; -struct Data_file; -struct Text_db; -struct Scalar; - typedef unsigned char U8; typedef short I16; typedef unsigned short U16; typedef unsigned U32; typedef int I32; -typedef long long I64; +typedef unsigned long long U64; +/* We should really use LLONG_MAX; unfortunately, this appears not to + be defined for the gub x-compiler. +*/ +const U64 U64_MAX = (~0ULL); -struct Duration; -struct Duration_iterator; -struct Source_file; -struct Binary_source_file; -struct Sources; struct File_storage; struct Mapped_file_storage; struct Simple_file_storage;