CInteropsConfig

data class CInteropsConfig(var defFile: File, var interopsPackage: String, var isStatic: Boolean = false, var declaration: String? = null, var targetWriter: CInteropsTargetWriter = defaultCInteropsTargetWriter, var code: String? = null, var codeFile: File? = null, var extraLibsDirs: List<ExtraLibsDirectory> = emptyList())

Constructors

Link copied to clipboard
constructor(defFile: File, interopsPackage: String, isStatic: Boolean = false, declaration: String? = null, targetWriter: CInteropsTargetWriter = defaultCInteropsTargetWriter, code: String? = null, codeFile: File? = null, extraLibsDirs: List<ExtraLibsDirectory> = emptyList())

Properties

Link copied to clipboard
var code: String?

Code to append to the bottom of the def file

Link copied to clipboard

Path to hard coded content for the def file to be appended at the bottom.

Link copied to clipboard

The list of headers to form the stop of the generated def file

Link copied to clipboard

Specifies where the generated def file will be written.

Link copied to clipboard
Link copied to clipboard

An alternative value for the default cinterops package. "project group.cinterops".

Link copied to clipboard

If true then the defFile is used as is and is not generated. default: false

Link copied to clipboard

After the declaration this will generate target specific headers for the generated def file. Default implementation at defaultCInteropsTargetWriter.