Hyprlang
A fast and user-friendly configuration language
All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
Hyprlang::CParseResult Class Reference

#include <hyprlang.hpp>

Public Member Functions

const char * getError () const
 
void setError (const char *err)
 

Public Attributes

bool error = false
 

Friends

class CConfig
 

Member Function Documentation

◆ getError()

const char * Hyprlang::CParseResult::getError ( ) const
inline

Get this ParseResult's error string. Pointer valid until the error string is changed or this object gets destroyed.

◆ setError()

void Hyprlang::CParseResult::setError ( const char * err)

Set an error contained by this ParseResult. Creates a copy of the string, does not take ownership.

Friends And Related Symbol Documentation

◆ CConfig

friend class CConfig
friend

Member Data Documentation

◆ error

bool Hyprlang::CParseResult::error = false

The documentation for this class was generated from the following file: