libcalamares: tidy up API documentation

The __attribute__ on the namespace confuses clang-tidy, which is
why this one namespace is indented.
This commit is contained in:
Adriaan de Groot 2023-10-24 15:14:08 +02:00
parent ede1c29a0e
commit 0d3519fe79

View File

@ -33,7 +33,7 @@ namespace Python __attribute__( ( visibility( "hidden" ) ) )
void debug( const std::string& s ); void debug( const std::string& s );
void warning( const std::string& s ); void warning( const std::string& s );
// void warn( const std::string& s) is an alias of warning() // void warn( const std::string& s) is an alias of warning() defined at the Python level
void error( const std::string& s ); void error( const std::string& s );
Dictionary load_yaml( const std::string& path ); Dictionary load_yaml( const std::string& path );
@ -48,12 +48,12 @@ namespace Python __attribute__( ( visibility( "hidden" ) ) )
int target_env_process_output( const List& args, const Object& callback, const std::string& input, int timeout ); int target_env_process_output( const List& args, const Object& callback, const std::string& input, int timeout );
int host_env_process_output( const List& args, const Object& callback, const std::string& input, int timeout ); int host_env_process_output( const List& args, const Object& callback, const std::string& input, int timeout );
class Job; class Job;
/** @brief Proxy class in Python for the Calamares Job class /** @brief Proxy class in Python for the Calamares Job class
* *
* This is available as libcalamares.job in Python code. * This is available as libcalamares.job in Python code.
*/ */
class JobProxy class JobProxy
{ {
public: public: