From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/gcc~13/arm-type-attributes.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 devdocs/gcc~13/arm-type-attributes.html (limited to 'devdocs/gcc~13/arm-type-attributes.html') diff --git a/devdocs/gcc~13/arm-type-attributes.html b/devdocs/gcc~13/arm-type-attributes.html new file mode 100644 index 00000000..415037e5 --- /dev/null +++ b/devdocs/gcc~13/arm-type-attributes.html @@ -0,0 +1,14 @@ +

6.35.3 ARM Type Attributes ΒΆ

On those ARM targets that support dllimport (such as Symbian OS), you can use the notshared attribute to indicate that the virtual table and other similar data for a class should not be exported from a DLL. For example:

class __declspec(notshared) C {
+public:
+  __declspec(dllimport) C();
+  virtual void f();
+}
+
+__declspec(dllexport)
+C::C() {}
+

In this code, C::C is exported from the current DLL, but the virtual table for C is not exported. (You can use __attribute__ instead of __declspec if you prefer, but most Symbian OS code uses __declspec.)

+

+ © Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
+ https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/ARM-Type-Attributes.html +

+
-- cgit v1.2.3