aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorHarold Brenes <harold@hbrenes.com>2025-04-23 01:41:38 -0400
committerHarold Brenes <harold@hbrenes.com>2025-04-23 02:05:51 -0400
commit47abea12290647f371b0488a179d3b254c7489a5 (patch)
treef6b70b5f780730ecd7739611526d66e97e48eddb /src/entity.cpp
parent730c844fc66a9afa6cb8f5ac599cf18c475c7fec (diff)
Add support for Objective-C method implementation with Odin calling convention.
Use @objc_context_provider to provide a context for a type.
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 9a5996e3d..a5443cf27 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -238,6 +238,7 @@ struct Entity {
bool objc_is_implementation;
Type* objc_superclass;
Type* objc_ivar;
+ Entity*objc_context_provider;
String objc_class_name;
TypeNameObjCMetadata *objc_metadata;
} TypeName;