Skip to content

Commit

Permalink
Cleanup comments in libffi_support.m
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldoussoren committed Dec 8, 2024
1 parent 8180957 commit 5909ad0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions pyobjc-core/Modules/objc/libffi_support.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@

NS_ASSUME_NONNULL_BEGIN

static const char gCharEncoding[] = {_C_CHR, 0};

/*
* Define SMALL_STRUCT_LIMIT as the largest struct that will be returned
* in registers instead of with a hidden pointer argument.
*/

static const char gCharEncoding[] = {_C_CHR, 0};

#if defined(__x86_64__)

#define SMALL_STRUCT_LIMIT 16
Expand Down Expand Up @@ -600,9 +599,6 @@ int PyObjCFFI_Setup(PyObject* m __attribute__((__unused__)))
case _C_PTR:
switch (type[1]) {
case _C_ID: {
/* XXX: Not sure why this (only) works for contains with
* a count, supporting NSNumber could be useful as well.
*/
if ((!*(id**)pvalue)) {
return 0;
}
Expand Down

0 comments on commit 5909ad0

Please sign in to comment.