NSSet.odin 723 B

123456789101112131415161718192021222324252627
  1. package objc_Foundation
  2. @(objc_class="NSSet")
  3. Set :: struct {using _: Copying(Set)}
  4. @(objc_type=Set, objc_name="alloc", objc_is_class_method=true)
  5. Set_alloc :: proc "c" () -> ^Set {
  6. return msgSend(^Set, Set, "alloc")
  7. }
  8. @(objc_type=Set, objc_name="init")
  9. Set_init :: proc "c" (self: ^Set) -> ^Set {
  10. return msgSend(^Set, self, "init")
  11. }
  12. @(objc_type=Set, objc_name="initWithObjects")
  13. Set_initWithObjects :: proc "c" (self: ^Set, objects: [^]^Object, count: UInteger) -> ^Set {
  14. return msgSend(^Set, self, "initWithObjects:count:", objects, count)
  15. }
  16. @(objc_type=Set, objc_name="initWithCoder")
  17. Set_initWithCoder :: proc "c" (self: ^Set, coder: ^Coder) -> ^Set {
  18. return msgSend(^Set, self, "initWithCoder:", coder)
  19. }