changeset 91:c4510e5f7a17

Move more List types from the exposed names list to the commented-out "builtin objects" section. These aren't our own custom types
author Chris Cannam
date Mon, 14 Jan 2019 16:16:43 +0000
parents f92587bedb2c
children a6718f9fe942
files PyExtensionManager.cpp
diffstat 1 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/PyExtensionManager.cpp	Thu Jan 10 15:52:21 2019 +0000
+++ b/PyExtensionManager.cpp	Mon Jan 14 16:16:43 2019 +0000
@@ -25,22 +25,25 @@
 
 //static
 const char* PyExtensionManager::m_exposedNames[] = {
+	
 		"ParameterDescriptor",
 		"OutputDescriptor",
-		"ParameterList",
-		"OutputList",
-	    "FeatureList",
 		"FeatureSet",
 		"Feature",
 		"RealTime",
 		"frame2RealTime",
-/* 		//using builtin objects:
+
+/* 		// using builtin objects:
+		"ParameterList",
+		"OutputList",
+		"FeatureList",
 		"OneSamplePerStep",
 		"FixedSampleRate",
 		"VariableSampleRate",
 		"TimeDomain",
 		"FrequencyDomain",
 */
+		
 		NULL
 };
 
@@ -135,6 +138,8 @@
 void 
 PyExtensionManager::cleanLocalNamespace(const char* plugModuleName) const
 {
+	DSTREAM << "Cleaning local namespace: " << plugModuleName << endl;
+
 	/// these references are all borrowed
 	PyObject *pyPlugModule = PyDict_GetItemString(m_pyGlobalNamespace,plugModuleName);
 	if (!pyPlugModule) return;
@@ -160,6 +165,8 @@
 void 
 PyExtensionManager::updateLocalNamespace(const char* plugModuleName) const
 {
+	DSTREAM << "Updating local namespace: " << plugModuleName << endl;
+
 	/// this allows the use of common syntax like:
 	/// from vampy import * 
 	/// even after several unload/reload cycles