Skip to content

Commit

Permalink
Merge pull request #492 from Don-Ward/fix-api
Browse files Browse the repository at this point in the history
Correct the use of find_method in the plugin api method.
  • Loading branch information
Jafaral authored Nov 19, 2024
2 parents aeb6469 + f4b55fc commit 767fecf
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
6 changes: 3 additions & 3 deletions plugins/src/SHA/shalib.icn
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ class SecureHash : uso::USO (
# ----------------------------------------
method api()
return [
lang::find_method("Sha"),
lang::find_method("Restart"),
lang::find_method("test")
lang::find_method(self,"Sha"),
lang::find_method(self,"Restart"),
lang::find_method(self,"test")
]
end

Expand Down
20 changes: 10 additions & 10 deletions plugins/src/bitman/bitman.icn
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,16 @@ class Bitman : uso::USO()
# ----------------------------------------
method api()
return [
lang::find_method("bor"),
lang::find_method("bxor"),
lang::find_method("band"),
lang::find_method("bcom"),
lang::find_method("bshift"),
lang::find_method("ushift"),
lang::find_method("bit"),
lang::find_method("bits"),
lang::find_method("brot"),
lang::find_method("test")
lang::find_method(self,"bor"),
lang::find_method(self,"bxor"),
lang::find_method(self,"band"),
lang::find_method(self,"bcom"),
lang::find_method(self,"bshift"),
lang::find_method(self,"ushift"),
lang::find_method(self,"bit"),
lang::find_method(self,"bits"),
lang::find_method(self,"brot"),
lang::find_method(self,"test")
]
end

Expand Down
24 changes: 12 additions & 12 deletions plugins/src/sqlite/sqlite.icn
Original file line number Diff line number Diff line change
Expand Up @@ -454,18 +454,18 @@ class SQLite : uso::USO (db, transactions, mtx, waitSecs, cachedErr)
# ----------------------------------------
method api()
return [
lang::find_method("BEGIN"),
lang::find_method("END"),
lang::find_method("ROLLBACK"),
lang::find_method("Close"),
lang::find_method("ErrMsg"),
lang::find_method("Exec"),
lang::find_method("SQL_Row"),
lang::find_method("SQL_As_List"),
lang::find_method("SQL_As_Table"),
lang::find_method("SQL_As_Set"),
lang::find_method("Rows"),
lang::find_method("isTable")
lang::find_method(self,"BEGIN"),
lang::find_method(self,"END"),
lang::find_method(self,"ROLLBACK"),
lang::find_method(self,"Close"),
lang::find_method(self,"ErrMsg"),
lang::find_method(self,"Exec"),
lang::find_method(self,"SQL_Row"),
lang::find_method(self,"SQL_As_List"),
lang::find_method(self,"SQL_As_Table"),
lang::find_method(self,"SQL_As_Set"),
lang::find_method(self,"Rows"),
lang::find_method(self,"isTable")
]
end

Expand Down

0 comments on commit 767fecf

Please sign in to comment.