Skip to content

Instantly share code, notes, and snippets.

@trukhinyuri
Created March 15, 2012 06:55
Show Gist options
  • Select an option

  • Save trukhinyuri/2042597 to your computer and use it in GitHub Desktop.

Select an option

Save trukhinyuri/2042597 to your computer and use it in GitHub Desktop.
fun increasePointer(configFile : configFile, value: Long) : ConfigFile {
val result = ConfigFile()
result.pointer = configFile.pointer + value // accessors are called
return result
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment