• Clint Stimpson's avatar
    Some cleanup and fixes related to the new namespace. · a0bb89db
    Clint Stimpson authored
    Removing VerdictFunction typedef from verdict.h, since its no longer true that all verdict functions have the same signature.
    Now that c++ is required, one can use std::function, lambdas, etc... instead.
    
    Remove extern "C" from all functions.
    With
    namespace verdict {
      extern "C" void func();
    }
    the result is functions are decorated in code (requiring one to type "verdict::") but not decorated in the resulting binary.
    
    Reintroduce mangling support by allowing the user to set the name of the namespace.
    
    git-svn-id: file:///scratch/cjstimp/svn/cubit/CUBIT_SOURCE/trunk@409661 d353b8dc-a10e-11dd-9ca7-d543032e456e
    a0bb89db
V_KnifeMetric.cpp 3.63 KB