ImmutableBinaryBlob.asCPointer: fix + test (#1879)
This commit is contained in:
committed by
Nikolay Igotti
parent
a4a235be42
commit
5ad0012ab1
@@ -0,0 +1,7 @@
|
||||
import platform.posix.printf
|
||||
|
||||
val golden = immutableBinaryBlobOf(0x48, 0x65, 0x6C, 0x6C, 0x6F, 0x21, 0x00).asCPointer(0)
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
printf("%s\n", golden)
|
||||
}
|
||||
Reference in New Issue
Block a user