فهرست منبع

Add Variant to the list of clases, so it can be documented (make sure it can't be documented that it can't be used). Closes #5237

Juan Linietsky 9 سال پیش
والد
کامیت
ea6c8d5b8b
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 6 0
      tools/doc/doc_data.cpp

+ 6 - 0
tools/doc/doc_data.cpp

@@ -455,6 +455,12 @@ void DocData::generate(bool p_basic_types) {
 	}
 
 
+	{
+		//so it can be documented that it does not exist
+		class_list["Variant"]=ClassDoc();
+		class_list["Variant"].name="Variant";
+	}
+
 	if (!p_basic_types)
 		return;