mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add `_swiftMockPlugin` library.
Usage:
#include "swift/swift-c/MockPlugin/MockPlugin.h"
MOCK_PLUGIN([
{"expect": {...},
"response: {...}}
])
5 lines
168 B
C
5 lines
168 B
C
// This file serves as a sanity check to ensure that the header is parseable
|
|
// from C and that no C++ code has sneaked in.
|
|
|
|
#include "swift-c/MockPlugin/MockPlugin.h"
|