2017-08-18 07:50:25 +08:00
|
|
|
/*
|
2021-02-18 22:57:13 +08:00
|
|
|
* Copyright 2017-2021 The OpenSSL Project Authors. All Rights Reserved.
|
2017-08-18 07:50:25 +08:00
|
|
|
*
|
2018-12-06 20:12:35 +08:00
|
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
2017-08-18 07:50:25 +08:00
|
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
|
|
* in the file LICENSE in the source distribution or at
|
|
|
|
* https://www.openssl.org/source/license.html
|
|
|
|
*/
|
|
|
|
|
2019-09-28 06:45:57 +08:00
|
|
|
#ifndef OSSL_INTERNAL_NELEM_H
|
|
|
|
# define OSSL_INTERNAL_NELEM_H
|
2021-02-07 05:14:03 +08:00
|
|
|
# pragma once
|
2017-08-18 07:50:25 +08:00
|
|
|
|
|
|
|
# define OSSL_NELEM(x) (sizeof(x)/sizeof((x)[0]))
|
|
|
|
#endif
|