File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ extern struct Point3D identityPoint
182
182
__ attribute__ ((swift_name("Point3D.identity")));
183
183
184
184
// Import as static computed property
185
- Point3D getZeroPoint()
185
+ Point3D getZeroPoint(void )
186
186
__ attribute__ ((swift_name("getter: Point3D .zero()")));
187
187
void setZeroPoint(Point3D point)
188
188
__ attribute__ ((swift_name("setter: Point3D .zero(_ :)")));
@@ -195,6 +195,8 @@ The string present in swift_name will additionally support the following:
195
195
method/property, otherwise this will be a static method/property
196
196
* ``getter:`` and ``setter:`` to denote the function as a property getter/setter
197
197
198
+ *Amendment:* swift_name is not valid on non-prototyped function declarations.
199
+
198
200
### Automatic inference heuristics
199
201
200
202
The following are some techniques and heuristics that can be useful for
You can’t perform that action at this time.
0 commit comments