mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 00:52:32 +02:00
Fix iter() on FF36. Closes issue #63.
This commit is contained in:
1 parent
f40ed2e734
commit
d64eab8f2a
1 file changed
+1
-1
@@ -373,7 +373,7 @@ set.remove = function (set, key) {
|
||||
* @returns {Generator}
|
||||
*/
|
||||
function iter(obj) {
|
||||
if (ctypes && obj instanceof ctypes.CData) {
|
||||
if (ctypes && ctypes.CData && obj instanceof ctypes.CData) {
|
||||
while (obj.constructor instanceof ctypes.PointerType)
|
||||
obj = obj.contents;
|
||||
if (obj.constructor instanceof ctypes.ArrayType)
|
||||
|
||||
Reference in new issue
Block a user