// Copyright © 2022 Olo Inc. All rights reserved.
// This software is made available under the Olo Pay SDK License (See LICENSE.md file)
//
//  CCharExtensions.swift
//  Plugin
//
//  Created by Honz Williams on 5/27/25.
//

extension CChar {
    init?(_ string: String) {
        guard let first = string.first, let ascii = first.asciiValue else { return nil }
        self = CChar(ascii)
    }
}
