Skip to content

Update const string definitions #11

Closed
@sfe-SparkFro

Description

@sfe-SparkFro

From @gigapod in #10:

For all these constant defines:

const char const

Which is : const data type ('the string') and const pointer ('the pointer') not just

const char

Which is just saying this symbol points to 'constant data'

We all make this mistake.

And if I was being really pedantic - I'd use const char * const - the use of "[]" to declare a pointer array is valid, but off standard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions