Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Why did Arne make these extern?

Featured Replies

I notice that in one of his sample codes (registration.c) Arne did this:extern PELEMENT_HEADER C_GAUGE(list);extern MOUSERECT C_GAUGE(mouse_rect)[];Now, I understand his use of the C_GAUGE macros (which are very cool to make things easy to template), although now there is a C_PLIST() macro that might be more appropriate for PLIST stuff, but I'm wondering why the heck he wanted/needed external linkage.Anyone have any idea why?

>look a bit more closely at it all... you might notice the>circular reference... ;)It has nothing to do with forward declarations, just internal vs. external linkage.Anyway, I removed the need for all the forward declarations.So, the question remains, why did he use external declarations... and I guess the answer is, that he might have wanted access from another file.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.