Skip to content

Commit

Permalink
Add more type exceptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboris committed Oct 20, 2024
1 parent b793199 commit 791e6da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/util.ml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ let apply_type_exceptions ?(allow_underscore = true) = function
| "IOHIDEvent" | "UIWebTouchEvent" | "OpaqueCFHTTPCookie" | "CNPluginCommand"
| "CFNetService" | "SecIdentity" | "SecAccess" | "SecTask" | "CFHSTSPolicy"
| "sqlite3" | "sqlite3_stmt" | "sqlite3_value" | "OpaquePCSShareProtection"
| "PCSIdentityData" ->
| "PCSIdentityData" | "LXCursor" | "LXLexicon" ->
"void"
| "va_list_tag" ->
"(ptr void)"
Expand All @@ -60,7 +60,8 @@ let apply_type_exceptions ?(allow_underscore = true) = function
| "PHDisplayVelocity" | "PXAssetMediaTypeCount" | "PXAssetBadgeInfo"
| "PUGridCoordinates" | "PUDisplayVelocity" | "CTGlyphStorage"
| "MIORange" | "IMFileSize" | "AKQuadrilateral"| "InternalInit"
| "HTTPConnectionCacheLimits" as ty ->
| "HTTPConnectionCacheLimits" | "PXTileGeometry" | "PXTileIdentifier"
| "MSVSignedRange" | "SCNMatrix4" | "SCNVector3" | "SCNVector4" as ty ->
raise (Unsupported_type ty)
| ty ->
if not allow_underscore && String.contains ty '_' then
Expand Down

0 comments on commit 791e6da

Please sign in to comment.