/src/library/scala/native.scala
http://github.com/greedy/scala-llvm · Scala · 23 lines · 2 code · 4 blank · 17 comment · 0 complexity · d550448193a1be2a9e345ab2152843f3 MD5 · raw file
- /* __ *\
- ** ________ ___ / / ___ Scala API **
- ** / __/ __// _ | / / / _ | (c) 2003-2011, LAMP/EPFL **
- ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
- ** /____/\___/_/ |_/____/_/ | | **
- ** |/ **
- \* */
- package scala
- /** Marker for native methods.
- *
- * {{{
- * @native def f(x: Int, y: List[Long]): String = ...
- * }}}
- *
- * Method body is not generated if method is marked with `@native`,
- * but it is type checked when present.
- *
- * @since 2.6 */
- class native extends annotation.StaticAnnotation {}