mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 02:09:22 +02:00
Added vendor directory to source control
This commit is contained in:
parent
16534d4217
commit
d2589e176f
3049 changed files with 249997 additions and 395005 deletions
48
vendor/aws/aws-crt-php/gen_api.php
vendored
48
vendor/aws/aws-crt-php/gen_api.php
vendored
|
@ -1,24 +1,24 @@
|
|||
<?php
|
||||
|
||||
$source = "php://stdin";
|
||||
if (isset($argv[1])) {
|
||||
$source = $argv[1];
|
||||
}
|
||||
|
||||
$input_lines = file($source);
|
||||
foreach ($input_lines as $line) {
|
||||
// Strip AWS_EXTERN_C_BEGIN/END
|
||||
if (preg_match('/AWS_EXTERN_C/', $line)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Strip macros/includes
|
||||
if (preg_match('/^#/', $line)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Strip visibility attributes
|
||||
$line = str_replace('AWS_CRT_API ', '', $line);
|
||||
|
||||
echo($line);
|
||||
}
|
||||
<?php
|
||||
|
||||
$source = "php://stdin";
|
||||
if (isset($argv[1])) {
|
||||
$source = $argv[1];
|
||||
}
|
||||
|
||||
$input_lines = file($source);
|
||||
foreach ($input_lines as $line) {
|
||||
// Strip AWS_EXTERN_C_BEGIN/END
|
||||
if (preg_match('/AWS_EXTERN_C/', $line)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Strip macros/includes
|
||||
if (preg_match('/^#/', $line)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Strip visibility attributes
|
||||
$line = str_replace('AWS_CRT_API ', '', $line);
|
||||
|
||||
echo($line);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue