]> git.eshelyaron.com Git - emacs.git/commitdiff
add support for native comp unit to type-of
authorAndrea Corallo <akrl@sdf.org>
Sun, 22 Dec 2019 08:52:46 +0000 (09:52 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:38:15 +0000 (11:38 +0100)
src/data.c

index fd20ecce6961f63b7c073316a2398fa2d49eee81..73ddb021e23b8d2f862338a8dbad28c569943f7c 100644 (file)
@@ -265,6 +265,8 @@ for example, (type-of 1) returns `integer'.  */)
           }
         case PVEC_MODULE_FUNCTION:
           return Qmodule_function;
+       case PVEC_NATIVE_COMP_UNIT:
+          return Qnative_comp_unit;
         case PVEC_XWIDGET:
           return Qxwidget;
         case PVEC_XWIDGET_VIEW:
@@ -3876,6 +3878,7 @@ syms_of_data (void)
   DEFSYM (Qoverlay, "overlay");
   DEFSYM (Qfinalizer, "finalizer");
   DEFSYM (Qmodule_function, "module-function");
+  DEFSYM (Qnative_comp_unit, "native-comp-unit");
   DEFSYM (Quser_ptr, "user-ptr");
   DEFSYM (Qfloat, "float");
   DEFSYM (Qwindow_configuration, "window-configuration");