Skip to content

Commit 08ed283

Browse files
committed
We don't need an Appindicator
1 parent 55a39f9 commit 08ed283

File tree

2 files changed

+9
-20
lines changed

2 files changed

+9
-20
lines changed

src/main/java/org/purejava/linux/Appindicator.java

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package org.purejava.linux;
2+
3+
import java.lang.foreign.MemorySegment;
4+
5+
public class MemoryAllocator {
6+
public static MemorySegment ALLOCATE_FOR(String str) {
7+
return RuntimeHelper.CONSTANT_ALLOCATOR.allocateUtf8String(str);
8+
}
9+
}

0 commit comments

Comments
 (0)