Michele Caini 8 месяцев назад
Родитель
Сommit
9c05f1d8f3
2 измененных файлов с 9 добавлено и 2 удалено
  1. 1 1
      TODO
  2. 8 1
      src/entt/natvis/process.natvis

+ 1 - 1
TODO

@@ -38,6 +38,6 @@ TODO:
 * avoid copying meta_type/data/func nodes
 * paged vector as a standalone class
 * operator bool to meta custom
-* process: doc and natvis
+* process: doc
 * scheduler: remove attach and then
 * process_adaptor: add watchdog to avoid circular calls, write more tests for plain funcs and the like

+ 8 - 1
src/entt/natvis/process.natvis

@@ -4,7 +4,14 @@
 		<DisplayString>{{ state={ current,en } }}</DisplayString>
 		<Expand>
 			<Item Name="[state]">current,en</Item>
-			<Item Name="[child]">next != nullptr</Item>
+			<Item Name="[child]" Condition="next != nullptr">*next</Item>
+		</Expand>
+	</Type>
+	<Type Name="entt::process_adaptor&lt;*&gt;">
+		<DisplayString>{{ state={ current,en } }}</DisplayString>
+		<Expand>
+			<Item Name="[callback]">func</Item>
+			<ExpandedItem>(base_type*)this,nand</ExpandedItem>
 		</Expand>
 	</Type>
 	<Type Name="entt::basic_scheduler&lt;*&gt;">