zpmod
b19981f
High-performance Zsh module for script optimization and filesystem helpers
zpmod.mdh
Go to the documentation of this file.
1
5
_Pragma(
"GCC diagnostic push"
)
6
#ifndef have_zpmod_module
7
#define have_zpmod_module
8
9
#if defined(__has_include)
10
# if __has_include("zsh.mdh"
)
11
# define ZSH_MDH_INCLUDED 1
12
# include "zsh.mdh"
13
# endif
14
#endif
15
16
#ifndef ZSH_MDH_INCLUDED
17
# ifdef HAVE_CONFIG_H
18
# include "config.h"
19
# else
20
# include "
zpmod_config.h
"
21
# define HAVE_CONFIG_H 1
22
# define ZSH_OOT_MODULE 1
23
# endif
24
# include "zsh_system.h"
25
# include "zsh.h"
26
# include "
sigcount.h
"
27
# include "
zpmod_internals.h
"
/* fallback externs when zsh.mdh unavailable */
28
/* Provide import macros if building out-of-tree and zsh.mdh didn't set them */
29
# ifndef mod_import_variable
30
# define mod_import_variable
31
# endif
32
# ifndef mod_import_function
33
# define mod_import_function
34
# endif
35
# include "
zpmod_imports.h
"
36
#endif
37
38
#ifndef mod_export
39
# define mod_export
40
#endif
41
42
#ifndef IMPORTING_MODULE_zpmod
43
# ifndef MODULE
44
# define boot_ boot_zpmod
45
# define cleanup_ cleanup_zpmod
46
# define features_ features_zpmod
47
# define enables_ enables_zpmod
48
# define setup_ setup_zpmod
49
# define finish_ finish_zpmod
50
# endif
51
#endif
52
53
#endif
/* !have_zpmod_module */
54
_Pragma(
"GCC diagnostic pop"
)
sigcount.h
zpmod_config.h
Minimal configuration header for out-of-tree builds without autoconf.
zpmod_imports.h
zpmod_internals.h
src
module
zpmod.mdh
Generated by
1.9.1