Skip to content

Commit

Permalink
add swift struct
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaerfei762 committed Nov 17, 2021
1 parent b18cd81 commit da77e50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _posts/2021-11-17-swift-cls-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tags: Swift
类声明中的方法是通过 V-table 来进行调度的
{:.success}

**V-table** 在 SIL 中是如下表示的:
`V-table`{:.info} 在 SIL 中是如下表示的:

```swift
decl ::= sil-vtable
Expand All @@ -33,7 +33,7 @@ t.method2()
print(t)
```

查看 **Swift-source** 源码:
查看 `Swift-source`{:.info} 源码:

```c++
static void initClassVTable(ClassMetadata *self) {
Expand Down

0 comments on commit da77e50

Please sign in to comment.