libpulsar
A modular compiler for the pulsar programming language
Loading...
Searching...
No Matches
proj.h
Go to the documentation of this file.
1
8#pragma once
9
10#include "def.h"
11
12#define PROJECT_NAME "libpulsar"
13#define PROJECT_NAMESPACE ps
14#define _PROJECT_NAMESPACE(x) __join(PROJECT_NAMESPACE, _##x)
15
17 int major;
18 int minor;
19 int patch;
20 const char* string;
21};
22#define PROJECT_VERSION_CREATE(major, minor, patch) \
23 ((struct _project_version){ \
24 major, minor, patch, "v" #major "." #minor "." #patch})
25
26#define PROJECT_VERSION PROJECT_VERSION_CREATE(0, 0, 0)
27#define PROJECT_AUTHOR "Ethan Uppal"
28#define PROJECT_COPYRIGHT "Copyright (C) 2023 Ethan Uppal. All rights reserved."
29
31
32#ifdef PS_PUBLIC_SRC
33 #undef PROJECT_VERSION_CREATE
34#endif
Base definitions.
#define _PROJECT_NAMESPACE(x)
Definition proj.h:14
void _PROJECT_NAMESPACE() project_print(void)
Definition proj.c:9
const char * string
Definition proj.h:20