File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
src/de/inetsoftware/jwebassembly/api/annotation Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2017 - 2018 Volker Berlin (i-net software)
2+ * Copyright 2017 - 2020 Volker Berlin (i-net software)
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2020import java .lang .annotation .RetentionPolicy ;
2121import java .lang .annotation .Target ;
2222
23- @ Retention (RetentionPolicy .CLASS )
24- @ Target (ElementType .METHOD )
23+ /**
24+ * Mark a function as an export to host environment/JavaScript.
25+ *
26+ * @author Volker Berlin
27+ *
28+ */
29+ @ Retention ( RetentionPolicy .CLASS )
30+ @ Target ( ElementType .METHOD )
2531public @interface Export {
2632
33+ /**
34+ * The external visible function name. If not set then the method name is used.
35+ *
36+ * @return the name
37+ */
2738 String name () default "" ;
2839}
You can’t perform that action at this time.
0 commit comments