wiki.icculus.org
[ front page | index | search | recent changes | git repo | offline html ]

MOJOELF_DECL

A macro to tag a symbol as a public API.

Header File

Defined in <mojoelf.h>

Syntax

#define MOJOELF_DECL

Remarks

MojoELF uses this macro for all its public functions. On some targets, it is used to signal to the compiler that this function needs to be exported from a shared library, but it might have other side effects.

Generally one compiles MojoELF into a project directly and doesn't dynamically link it, so MOJOELF_DECL is intentionally blank.

It's here in case you must override it for whatever reason, and because wikiheaders.pl uses this to identify function signatures in this header when generating documentation. You can probably ignore it.

Version

This macro is available since MojoELF 1.0.0.


CategoryAPI, CategoryAPIMacro, CategoryMojoELF


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.