Skip to content

Commit

Permalink
Use JvmName annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
05nelsonm committed Mar 1, 2024
1 parent 430e354 commit 26991a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/process/api/process.api
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
public abstract interface annotation class io/matthewnelson/kmp/process/InternalProcessApi : java/lang/annotation/Annotation {
}

public final class io/matthewnelson/kmp/process/JvmProcessKt {
public static final fun getStdin (Lio/matthewnelson/kmp/process/Process;)Ljava/io/BufferedOutputStream;
public final class io/matthewnelson/kmp/process/JvmProcess {
public static final fun stdin (Lio/matthewnelson/kmp/process/Process;)Ljava/io/BufferedOutputStream;
}

public final class io/matthewnelson/kmp/process/Output {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
**/
@file:JvmName("JvmProcess")

package io.matthewnelson.kmp.process

import java.io.BufferedOutputStream
Expand All @@ -22,6 +24,7 @@ import java.io.BufferedOutputStream
*
* This extension function provides access for that.
* */
@get:JvmName("stdin")
public val Process.stdin: BufferedOutputStream? get() {
// input is only ever non-null when it is Stdio.Pipe,
// which on Java is a ProcessPipeOutputStream, which
Expand Down

0 comments on commit 26991a0

Please sign in to comment.