| T O P I C R E V I E W |
| g0dpEUmE |
Posted - Apr 11 2026 : 08:13:57 AM VA's inserting pair brackets function has a flaw of adding a semicolon at the end of extern "C" specification, making it: extern "C" {}; instead of common: extern "C" {}. Hope this can be improved.

|
| 3 L A T E S T R E P L I E S (Newest First) |
| feline |
Posted - Apr 13 2026 : 12:55:37 PM VA does check in other places if the semi-colon is needed or not, so I have put in a feature request for this:
case=166165 |
| g0dpEUmE |
Posted - Apr 13 2026 : 09:00:26 AM quote: Originally posted by feline
Have you considered setting up a VA Snippet for this? Something like shortcut "ext" and inserting the line:
extern "C" {}
Quick and simple, and something you can do without waiting for a code change in VA.
I'm doing so. If this can be improved later then that's better. Thanks. |
| feline |
Posted - Apr 13 2026 : 08:40:16 AM Have you considered setting up a VA Snippet for this? Something like shortcut "ext" and inserting the line:
extern "C" {}
Quick and simple, and something you can do without waiting for a code change in VA. |