-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ffigen] Update urls after repo merge
- Loading branch information
Showing
9 changed files
with
59 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
## Examples | ||
|
||
- [Simple](https://github.com/dart-lang/ffigen/tree/main/example/simple) | ||
- [cJSON](https://github.com/dart-lang/ffigen/tree/main/example/c_json) | ||
- [LibClang](https://github.com/dart-lang/ffigen/tree/main/example/libclang-example) | ||
- [ObjectiveC](https://github.com/dart-lang/ffigen/tree/main/example/objective_c) | ||
- [Swift](https://github.com/dart-lang/ffigen/tree/main/example/swift) | ||
- [Simple](https://github.com/dart-lang/native/tree/main/pkgs/ffigen/example/simple) | ||
- [cJSON](https://github.com/dart-lang/native/tree/main/pkgs/ffigen/example/c_json) | ||
- [LibClang](https://github.com/dart-lang/native/tree/main/pkgs/ffigen/example/libclang-example) | ||
- [ObjectiveC](https://github.com/dart-lang/native/tree/main/pkgs/ffigen/example/objective_c) | ||
- [Swift](https://github.com/dart-lang/native/tree/main/pkgs/ffigen/example/swift) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
#import <Foundation/NSObject.h> | ||
#import <Foundation/NSString.h> | ||
|
||
// TODO(#309): strConcat should just be a static function. | ||
@interface StringUtil : NSObject {} | ||
+ (NSString*)strConcat:(NSString*)a with:(NSString*)b; | ||
// TODO(https://github.com/dart-lang/ffigen/issues/309): strConcat should just | ||
// be a static function. | ||
@interface StringUtil : NSObject { | ||
} | ||
+ (NSString *)strConcat:(NSString *)a with:(NSString *)b; | ||
@end | ||
|
||
@implementation StringUtil | ||
+ (NSString*)strConcat:(NSString*)a with:(NSString*)b { | ||
+ (NSString *)strConcat:(NSString *)a with:(NSString *)b { | ||
return [a stringByAppendingString:b]; | ||
} | ||
@end |