Updates will be applied on October 27th between 12pm - 12:45pm EDT (UTC-0400). Gitlab may be slow during the maintenance window.

Commit d8858b07 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

wrapping: use WRAP_EXCLUDE_PYTHON for the hierarchy

parent 7bd57b70
......@@ -105,7 +105,7 @@ HierarchyEntry *vtkParseHierarchy_FindEntry(
* Get properties for the class. Returns NULL if the property
* is not set, and returns either an empty string or a value string
* if the property is set. The properties supported are as follows:
* "WRAP_EXCLUDE"
* "WRAP_EXCLUDE_PYTHON"
*/
const char *vtkParseHierarchy_GetProperty(
const HierarchyEntry *entry, const char *property);
......
......@@ -450,7 +450,7 @@ static int isClassWrapped(const char *classname)
entry = vtkParseHierarchy_FindEntry(hierarchyInfo, classname);
if (entry == 0 ||
vtkParseHierarchy_GetProperty(entry, "WRAP_EXCLUDE") ||
vtkParseHierarchy_GetProperty(entry, "WRAP_EXCLUDE_PYTHON") ||
!vtkParseHierarchy_IsTypeOf(hierarchyInfo, entry, "vtkObjectBase"))
{
return 0;
......
......@@ -283,7 +283,7 @@ static int isClassWrapped(const char *classname)
entry = vtkParseHierarchy_FindEntry(hierarchyInfo, classname);
if (entry == 0 ||
vtkParseHierarchy_GetProperty(entry, "WRAP_EXCLUDE") ||
vtkParseHierarchy_GetProperty(entry, "WRAP_EXCLUDE_PYTHON") ||
!vtkParseHierarchy_IsTypeOf(hierarchyInfo, entry, "vtkObjectBase"))
{
return 0;
......
......@@ -376,7 +376,7 @@ static char **append_class_contents(
line = append_scope_to_line(line, &m, &maxlen, scope);
line = append_class_to_line(line, &m, &maxlen, class_info);
tmpflags = "WRAP_EXCLUDE";
tmpflags = "WRAP_EXCLUDE_PYTHON";
}
else if (data->Items[i].Type == VTK_ENUM_INFO)
{
......@@ -488,7 +488,7 @@ static char **append_namespace_contents(
data->Classes[data->Items[i].Index];
/* all but the main class in each file is excluded from wrapping */
tmpflags = "WRAP_EXCLUDE";
tmpflags = "WRAP_EXCLUDE_PYTHON";
if (class_info == main_class)
{
tmpflags = flags;
......@@ -541,7 +541,7 @@ static char **append_namespace_contents(
{
lines = append_namespace_contents(lines, np,
data->Namespaces[data->Items[i].Index], 0,
scope, header_file, module_name, "WRAP_EXCLUDE");
scope, header_file, module_name, "WRAP_EXCLUDE_PYTHON");
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment