[darwinbuild-changes] [210] trunk/darwinxref/DBDataStore.c
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 4 01:58:39 PDT 2006
Revision: 210
http://trac.macosforge.org/projects/darwinbuild/changeset/210
Author: kevin
Date: 2006-10-04 01:58:39 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
- support new plugin types
Modified Paths:
--------------
trunk/darwinxref/DBDataStore.c
Modified: trunk/darwinxref/DBDataStore.c
===================================================================
--- trunk/darwinxref/DBDataStore.c 2005-08-30 06:25:02 UTC (rev 209)
+++ trunk/darwinxref/DBDataStore.c 2006-10-04 08:58:39 UTC (rev 210)
@@ -291,7 +291,10 @@
CFTypeID DBCopyPropType(CFStringRef property) {
CFTypeID type = -1;
const DBPlugin* plugin = DBGetPluginWithName(property);
- if (plugin && plugin->type == kDBPluginPropertyType) {
+ if (plugin &&
+ (plugin->type == kDBPluginPropertyType ||
+ plugin->type == kDBPluginBuildPropertyType ||
+ plugin->type == kDBPluginProjectPropertyType)) {
type = plugin->datatype;
}
return type;
@@ -300,7 +303,10 @@
CFTypeID DBCopyPropSubDictType(CFStringRef property) {
CFTypeID type = -1;
const DBPlugin* plugin = DBGetPluginWithName(property);
- if (plugin && plugin->type == kDBPluginPropertyType) {
+ if (plugin &&
+ (plugin->type == kDBPluginPropertyType ||
+ plugin->type == kDBPluginBuildPropertyType ||
+ plugin->type == kDBPluginProjectPropertyType)) {
type = plugin->subdictdatatype;
}
return type;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/e4a3237e/attachment-0001.html
More information about the darwinbuild-changes
mailing list