mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
Add export annotation to mark methods for export
This commit is contained in:
parent
3e87ca8d6b
commit
ec1fc643c2
13
src/org/webassembly/annotation/Export.java
Normal file
13
src/org/webassembly/annotation/Export.java
Normal file
@ -0,0 +1,13 @@
|
||||
package org.webassembly.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@Target(ElementType.METHOD)
|
||||
public @interface Export {
|
||||
|
||||
String name() default "";
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user