Skip to content

Commit

Permalink
* #267
Browse files Browse the repository at this point in the history
  • Loading branch information
adamansky committed Dec 18, 2019
1 parent ba47e89 commit 440d895
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -488,13 +488,13 @@ public final class SWJQL {
return self
}

public func execute(_ visitor: @escaping (_ doc: JBDOC) -> Bool) throws {
public func execute(_ visitor: @escaping (_: JBDOC) -> Bool) throws {
// todo: logging
var ux = _EJDB_EXEC(
db: self.db.handle,
q: self.handle,
visitor: nil,
opaque: nil,
visitor: nil, // Will be filled on execute(&ux)
opaque: nil, // Will be filled on execute(&ux)
skip: _skip ?? 0,
limit: _limit ?? 0,
cnt: 0,
Expand All @@ -506,11 +506,11 @@ public final class SWJQL {

final class SWJQLExecutor {

init(_ visitor: @escaping (_ doc: JBDOC) -> Bool) {
init(_ visitor: @escaping (_: JBDOC) -> Bool) {
self.visitor = visitor
}

let visitor: (_ doc: JBDOC) -> Bool
let visitor: (_: JBDOC) -> Bool

func execute(_ uxp: UnsafeMutablePointer<_EJDB_EXEC>) throws {
let _visitor:
Expand Down

0 comments on commit 440d895

Please sign in to comment.