diff options
Diffstat (limited to 'Build/source/utils/asymptote/env.h')
-rw-r--r-- | Build/source/utils/asymptote/env.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/env.h b/Build/source/utils/asymptote/env.h index 40569dd5390..8146fa813e8 100644 --- a/Build/source/utils/asymptote/env.h +++ b/Build/source/utils/asymptote/env.h @@ -99,11 +99,13 @@ public: access *lookupCast(ty *target, ty *source, symbol name); bool castable(ty *target, ty *source, symbol name); - #ifdef FASTCAST // A cast lookup designed to work quickly with the application matching // code. The target type must not be overloaded. bool fastCastable(ty *target, ty *source); + + // For the lookup, neither target nor source may be overloaded. + access *fastLookupCast(ty *target, ty *source); #endif // Given overloaded types, this resolves which types should be the target and |