C preprocessor for enum with macro construct

is it possible add enum with macro definition?

i try “Add type”as C syntax

as

#define CURLOPT(na,t,nu) na = t + enum
#define CURLOPTTYPE_OBJECTPOINT   10000
#define CURLOPTTYPE_STRINGPOINT CURLOPTTYPE_OBJECTPOINT
enum {

CURLOPT(CURLOPT_SSL_SIGNATURE_ALGORITHMS, CURLOPTTYPE_STRINGPOINT, 328),

}CURLOption;

ida say

Successfully imported type

but enum CURLOption was not add

It seems you have some mistakes in your definition. The following seems to work:

#define CURLOPT(na,t,nu) na = t + nu
#define CURLOPTTYPE_OBJECTPOINT   10000
#define CURLOPTTYPE_STRINGPOINT CURLOPTTYPE_OBJECTPOINT
enum CURLOption {

CURLOPT(CURLOPT_SSL_SIGNATURE_ALGORITHMS, CURLOPTTYPE_STRINGPOINT, 328),

};