Skip to content

Commit

Permalink
start deprecating buf
Browse files Browse the repository at this point in the history
  • Loading branch information
elect86 committed Jul 31, 2018
1 parent 147abc8 commit 399cd2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/kotlin/gln/gln.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ import java.awt.Color
import java.nio.ByteBuffer
import java.nio.IntBuffer

@Deprecated("use appBuffer instead")
val buf: ByteBuffer = MemoryUtil.memAlloc(256)
@Deprecated("use appBuffer instead")
val bufAd = buf.adr

operator fun IntBuffer.get(e: Enum<*>) = get(e.ordinal)
Expand Down

0 comments on commit 399cd2a

Please sign in to comment.