diff options
| author | ruki <[email protected]> | 2025-03-30 01:05:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-04-08 15:31:57 +0800 |
| commit | 736e327bf3b51888da68cba78f4ee1b780a7b1d6 (patch) | |
| tree | 267849cae37bf4ae6ab3da19c74df9fe8c6eb155 /xmake/core/base/graph.lua | |
| parent | b644fa46c237f5471e313dfa28f4ffc11cec956f (diff) | |
improve protobuf
Diffstat (limited to 'xmake/core/base/graph.lua')
| -rw-r--r-- | xmake/core/base/graph.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/base/graph.lua b/xmake/core/base/graph.lua index db8682b21..53f09c59f 100644 --- a/xmake/core/base/graph.lua +++ b/xmake/core/base/graph.lua @@ -318,6 +318,11 @@ function graph:topo_sort() return order_vertices, has_cycle end +-- deprecated +function graph:topological_sort() + return self:topo_sort() +end + -- find cycle function graph:find_cycle() local visited = {} |
