Example #1
0
	core::TypePtr DataItem::toDataItemType(const core::TypePtr& type) {
		core::IRBuilder builder(type->getNodeManager());
		return builder.genericType(DATA_ITEM_TYPE_NAME, toVector(type));
	}
Example #2
0
	const core::TypePtr getListType(const core::TypePtr& elementType) {
		IRBuilder builder(elementType->getNodeManager());
		return builder.genericType(ListExtension::LIST_TYPE_NAME, toVector(elementType));
	}