---
title: "gss_oid_equal(_:_:)"
framework: GSS
role: symbol
role_heading: Function
platforms: [iOS 5.0+, iPadOS 5.0+, Mac Catalyst 13.1+, macOS 10.7+, visionOS 1.0+]
path: "gss/gss_oid_equal(_:_:)"
---

# gss_oid_equal(_:_:)

Returns a flag that indicates whether two object identifiers are the same.

## Declaration

```swift
func gss_oid_equal(_ a: gss_const_OID?, _ b: gss_const_OID?) -> Int32
```

## Parameters

- `a`: The first object identifier to examine.
- `b`: The second object identifier to examine.

## Return Value

Return Value A non-zero value if the objects are the same, or zero if they are different.

## See Also

### Conversion and Duplication

- [gss_oid_to_str(_:_:_:)](gss/gss_oid_to_str(_:_:_:).md)
- [gss_test_oid_set_member(_:_:_:_:)](gss/gss_test_oid_set_member(_:_:_:_:).md)
- [gss_duplicate_oid(_:_:_:)](gss/gss_duplicate_oid(_:_:_:).md)
