From b6e5debf3d0b9fddd5f274bf16bd3d5e09219639 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 21 Jun 2013 19:53:20 -0700 Subject: gras: update submodules for type over isinstance registry --- PMC | 2 +- grextras | 2 +- python/gras/GRAS_SBuffer.i | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PMC b/PMC index 65b3937..a8b63e4 160000 --- a/PMC +++ b/PMC @@ -1 +1 @@ -Subproject commit 65b39373c5cddc79408b9c7db4355848a7efd9e0 +Subproject commit a8b63e468f1607da7f10f8a9d786595fdf6da6df diff --git a/grextras b/grextras index 81cd597..8790fab 160000 --- a/grextras +++ b/grextras @@ -1 +1 @@ -Subproject commit 81cd59739e2c8181ccd7f2670948e9714ef4049c +Subproject commit 8790fabf31ccab6c734d72fa746a0fed23c1029e diff --git a/python/gras/GRAS_SBuffer.i b/python/gras/GRAS_SBuffer.i index 867d2f1..5ae910a 100644 --- a/python/gras/GRAS_SBuffer.i +++ b/python/gras/GRAS_SBuffer.i @@ -14,7 +14,7 @@ def pmc_to_sbuffer(p): return s RegisterPy2PMC( - is_py = lambda x: isinstance(x, SBuffer), + is_py = lambda x: type(x) is SBuffer, py2pmc = swig_sbuffer_to_pmc, ) -- cgit