summary refs log tree commit diff stats
path: root/tests/stdlib/tropes.nim
Commit message (Expand)AuthorAgeFilesLines
* Fixes ropes regressions due to the not-nil strings (#8687)Dmitry Atamanov2018-08-201-0/+36
id='n6' href='#n6'>6 7 8 9 10









                                                                   
import os

proc findlib: string =
  let path = getEnv("MYLIB_DOES_NOT_EXIST_PATH")
  if path.len > 0 and dirExists(path):
    path / "alib_does_not_matter.dll"
  else:
    "alib_does_not_matter.dll"

proc imported_func*(a: cint): cstring {.importc, dynlib: findlib().}