summaryrefslogtreecommitdiff
path: root/lang/c/pseudoobjc.cpp
diff options
context:
space:
mode:
authorMark Rowe <mrowe@bdash.net.nz>2025-05-30 09:16:48 -0700
committerkat <kat@vector35.com>2025-06-18 10:41:33 -0400
commitb6b98c07eb8ce704da4edf5a0b16959215a2c450 (patch)
tree09fb73e17eb949e489f95acd9beea9ef619ac013 /lang/c/pseudoobjc.cpp
parenta7ff3ca06a7684a688628b9afb36398b3a4d9d45 (diff)
[ObjC] Prefer displaying id rather than objc_object*
Diffstat (limited to 'lang/c/pseudoobjc.cpp')
-rw-r--r--lang/c/pseudoobjc.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/c/pseudoobjc.cpp b/lang/c/pseudoobjc.cpp
index 7794e938..9b6dd0c7 100644
--- a/lang/c/pseudoobjc.cpp
+++ b/lang/c/pseudoobjc.cpp
@@ -2,6 +2,7 @@
#include "binaryninjaapi.h"
#include "highlevelilinstruction.h"
+#include "objctypes.h"
#include <optional>
#include <string>
#include <string_view>
@@ -518,3 +519,8 @@ Ref<LanguageRepresentationFunction> PseudoObjCFunctionType::Create(
{
return new PseudoObjCFunction(this, arch, owner, highLevelILFunction);
}
+
+Ref<TypePrinter> PseudoObjCFunctionType::GetTypePrinter()
+{
+ return new PseudoObjCTypePrinter();
+}