Skip to content

Commit

Permalink
ch06 reorganize packages
Browse files Browse the repository at this point in the history
  • Loading branch information
spamegg1 committed Apr 9, 2024
1 parent 37e4ae5 commit c3dd0bb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/main/scala/ch07/common/libcurl.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
package ch07
package common

import scalanative.unsafe.*

Expand Down
1 change: 0 additions & 1 deletion src/main/scala/ch07/common/libcurlConstants.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
package ch07
package common

import scalanative.unsafe.{CInt, Ptr, CFuncPtr3, CFuncPtr5}

Expand Down
3 changes: 1 addition & 2 deletions src/main/scala/ch07/curlAsync/curl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ case class ResponseState(
)

object Curl:
import common.LibCurl.*
import common.LibCurlConstants.*
import LibCurl.*, LibCurlConstants.*
import LibUV.*, LibUVConstants.*

var serial = 0L
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/ch07/curlAsync/main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package curlAsync
import scala.scalanative.unsafe.*
import scala.scalanative.libc.*
import scala.util.{Success, Failure}
import common.LibCurlConstants.*
import LibCurlConstants.*
import scala.concurrent.ExecutionContext

@main
Expand Down

0 comments on commit c3dd0bb

Please sign in to comment.