module
Crygen::Helpers::Annotation
Overview
This module provides helper methods for adding annotations to objects easily.
Direct including types
Defined in:
helpers/annotation.crInstance Method Summary
-
#always_inline : self
Add a
@[AlwaysInline]annotation. -
#call_convention(name : String) : self
Add a
@[CallConvention]annotation. -
#deprecated(message : String) : self
Add a
@[Deprecated]annotation on the method with a custom message. -
#deprecated : self
Add a
@[Deprecated]annotation. -
#experimental(message : String) : self
Add a
@[Experimental]annotation on the method with a custom message. -
#experimental : self
Add a
@[Experimental]annotation. -
#extern : self
Add a
@[Extern]annotation. -
#flags : self
Add a
@[Flags]annotation. -
#link(name : String) : self
Add a
@[Link]annotation on the method with the library name. -
#no_inline : self
Add a
@[NoInline]annotation. -
#thread_local : self
Add a
@[ThreadLocal]annotation.
Instance Method Detail
Add a @[CallConvention] annotation.
Returns: an object class itself.
Add a @[Deprecated] annotation on the method with a custom message.
Returns: an object class itself.
Add a @[Experimental] annotation on the method with a custom message.
Returns: an object class itself.
Add a @[Link] annotation on the method with the library name.
Returns: an object class itself.