]> git.sur5r.net Git - cc65/blobdiff - src/cc65/codeseg.h
Use xsprintf
[cc65] / src / cc65 / codeseg.h
index 40ceb77a189a549b89b3f056dac4b3686644187c..fc61ab25eb476790ef4d25cad27cf587c9b4e004 100644 (file)
@@ -171,6 +171,12 @@ int CS_GetEntries (CodeSeg* S, struct CodeEntry** List,
 unsigned CS_GetEntryIndex (CodeSeg* S, struct CodeEntry* E);
 /* Return the index of a code entry */
 
+int CS_RangeHasLabel (CodeSeg* S, unsigned Start, unsigned Count);
+/* Return true if any of the code entries in the given range has a label
+ * attached. If the code segment does not span the given range, check the
+ * possible span instead.
+ */
+
 CodeLabel* CS_AddLabel (CodeSeg* S, const char* Name);
 /* Add a code label for the next instruction to follow */