Mercurial > projects > ldc
comparison gen/typinf.cpp @ 506:a6c105aa00d5
Provided overload to TypeClass::builtinTypeInfo to return true.
Shouldn't almost all types have a builtin typeinfo? Maybe it'd be better to
have the default at true and only overload typedef and friends.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Wed, 13 Aug 2008 22:14:43 +0200 |
parents | 6590ec13f14d |
children | af9bdd69a7ec |
comparison
equal
deleted
inserted
replaced
505:841589c97f20 | 506:a6c105aa00d5 |
---|---|
220 } | 220 } |
221 | 221 |
222 int TypeDArray::builtinTypeInfo() | 222 int TypeDArray::builtinTypeInfo() |
223 { | 223 { |
224 return next->isTypeBasic() != NULL; | 224 return next->isTypeBasic() != NULL; |
225 } | |
226 | |
227 int TypeClass::builtinTypeInfo() | |
228 { | |
229 return 1; | |
225 } | 230 } |
226 | 231 |
227 /* ========================================================================= */ | 232 /* ========================================================================= */ |
228 | 233 |
229 /*************************************** | 234 /*************************************** |