Namespaces make code easier to follow, and remove the need to mangle the beginning of function names by using ocarina_*() or libsaria_*(). In other words: "namespaces are one honking good idea. Let's have more of them!"
13 lines
102 B
C++
13 lines
102 B
C++
#ifndef OCARINA_H
|
|
#define OCARINA_H
|
|
|
|
namespace ocarina
|
|
{
|
|
|
|
void quit();
|
|
void idle_add();
|
|
|
|
};
|
|
|
|
#endif
|