All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sttp.model.idn.CIdn.scala Maven / Gradle / Ivy

There is a newer version: 2.0.0-RC4
Show newest version
package sttp.model.idn

import scala.scalanative.native.{CInt, CString, Ptr, extern, link, name}

@link("idn")
@extern
private[idn] object CIdn {

  @name("idna_to_ascii_8z")
  def toAscii(input: CString, output: Ptr[CString], flags: CInt): CInt = extern

  @name("idna_strerror")
  def errorMsg(rc: CInt): CString = extern

  @name("idn_free")
  def free(ptr: Ptr[_]): Unit = extern
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy