libpulsar
A modular compiler for the pulsar programming language
Loading...
Searching...
No Matches
Macros
notmain.h File Reference

Enables programs to be located in the project directory. More...

#include "def.h"

Go to the source code of this file.

Macros

#define MAIN   __attribute__((unused)) static __not_main
 Defines a main function that should not be treated as a main function unless explicitly desired by the build software.
 

Detailed Description

Enables programs to be located in the project directory.

Author
Ethan Uppal

Definition in file notmain.h.

Macro Definition Documentation

◆ MAIN

#define MAIN   __attribute__((unused)) static __not_main

Defines a main function that should not be treated as a main function unless explicitly desired by the build software.

Definition at line 15 of file notmain.h.