about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--subx/056trace.subx6
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/056trace.subx b/subx/056trace.subx
index 3e65b8b8..aeb572d3 100644
--- a/subx/056trace.subx
+++ b/subx/056trace.subx
@@ -77,7 +77,7 @@ $initialize-trace-stream:end:
 
 # Append a string to the given trace stream.
 # Silently give up if it's already full. Or truncate the string if there isn't enough room.
-trace:  # line : string
+trace:  # line : (address string)
     # . prolog
     55/push-EBP
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
@@ -289,7 +289,7 @@ $check-trace-scans-to:end:
     c3/return
 
 # Start scanning from Trace-stream->read for 'line'. If found, update Trace-stream->read and return true.
-trace-scan:  # line : string -> result/EAX : boolean
+trace-scan:  # line : (address string) -> result/EAX : boolean
     # pseudocode:
     #   push Trace-stream->read
     #   while true:
@@ -525,7 +525,7 @@ test-trace-scan-failure-leaves-read-index-untouched:
     # . end
     c3/return
 
-next-line-matches?:  # t : (address stream), line : string -> result/EAX : boolean
+next-line-matches?:  # t : (address stream), line : (address string) -> result/EAX : boolean
     # pseudocode:
     #   while true:
     #     if (currl >= maxl) break