Commit c370f54
authored
Fix LogHeartbeatInternal (#628)
When Swig generating "%csmethodmodifiers" code block, instead of keeping
all preprocesser directives like "#if FIREBASE_PLATFORM_DESKTOP", it
seem to preprocess the block directly and remove codes.
In this case, Swig would consider FIREBASE_PLATFORM_DESKTOP never
defined and remove the entire block in the generated code.
This can be easily verified with
```
python scripts/build_scripts/build_zips.py --platform=macos --apis=auth
```1 parent e974dd1 commit c370f54
1 file changed
+12
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
161 | 170 | | |
162 | 171 | | |
163 | 172 | | |
| |||
862 | 871 | | |
863 | 872 | | |
864 | 873 | | |
865 | | - | |
| 874 | + | |
866 | 875 | | |
867 | 876 | | |
868 | 877 | | |
869 | | - | |
| 878 | + | |
870 | 879 | | |
871 | 880 | | |
872 | 881 | | |
| |||
1318 | 1327 | | |
1319 | 1328 | | |
1320 | 1329 | | |
1321 | | - | |
1322 | | - | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
| 1330 | + | |
1326 | 1331 | | |
1327 | 1332 | | |
1328 | 1333 | | |
| |||
0 commit comments