Skip to content

Commit 9ac5644

Browse files
committed
Automatically export @api macro with
1 parent 2b0c920 commit 9ac5644

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/APITools.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ __precompile__(true)
33
API Tools package
44
55
Copyright 2018 Gandalf Software, Inc., Scott P. Jones
6+
67
Licensed under MIT License, see LICENSE.md
78
89
(@def macro "stolen" from DiffEqBase.jl/src/util.jl :-) )
@@ -68,6 +69,7 @@ const APIList = Tuple{Vararg{API}}
6869
macro api(cmd::Symbol)
6970
if cmd == :init
7071
quote
72+
export @api
7173
global __tmp_api__ = APITools.TMP_API()
7274
global __tmp_chain__ = Vector{APITools.API}[]
7375
end

0 commit comments

Comments
 (0)