Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.
Paul Bowen-Huggett edited this page Jan 7, 2019 · 11 revisions

Strings

All strings stored in a pstore database and pass to and from pstore APIs should be UTF-8 encoded. This means that strings following any other encoding scheme must be converted before use. At the time of writing, this mostly affect the Windows port where the Windows API uses either MBCS or UTF-16.

Naming Conventions

All pstore names use snake-case (all lower-case with underscores to separate words), except for:

  • Template parameters are camel-case (the initial letter of case word is capitalized; no separators)
  • Macros are all upper-case with underscore to separate words.

Member variables use a single underscore suffix.

Clone this wiki locally