       var stop_ = false
       usingBlock(substring: $0, substringRange: $1, enclosingRange: $2, &stop_)
       if stop_ {
-        UnsafePointer($3).set(true)
+        UnsafePointer($3).pointee = true
       }
     }
   }

  static func availableStringEncodings() -> NSStringEncoding[] {
    var result = NSStringEncoding[]()
    var p = NSString.availableStringEncodings()
    while p.get() != 0 {
      result.append(p.get())
      ++p
    }
    return result

      var stop_ = false
      usingBlock($0, $1, $2, &stop_)
      if stop_ {
        UnsafePointer($3).pointee = true
      }
    }
  }
