Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: jscode017 on October 16, 2018, 01:08:18 PM



Title: how to understand those #define in secp256k1.h?
Post by: jscode017 on October 16, 2018, 01:08:18 PM
Are there any resources that can help understanding those #define statement(e.g: #   define SECP256K1_API __declspec(dllexport)) and those starts with # in secp256k1.h?
Are there some web resources or some book to read?
recently work on a project that has to include secp256k1.h

help please



Title: Re: how to understand those #define in secp256k1.h?
Post by: jscode017 on October 16, 2018, 02:17:57 PM
thanks for the help
but still wants to know are there any relating c++ resources to understand those statements behind #
cause the code looks a little intricate for me


Title: Re: how to understand those #define in secp256k1.h?
Post by: jscode017 on October 17, 2018, 02:31:22 AM
Thanks
this will probably solve my problem


Title: Re: how to understand those #define in secp256k1.h?
Post by: odolvlobo on October 17, 2018, 07:27:38 AM
Are there any resources that can help understanding those #define statement(e.g: #   define SECP256K1_API __declspec(dllexport)) and those starts with # in secp256k1.h?
Are there some web resources or some book to read?
recently work on a project that has to include secp256k1.h

If you are asking about #define, then this might help: https://www.techonthenet.com/c_language/constants/create_define.php

If you are asking about __declspec(dllexport), then this might help: https://msdn.microsoft.com/en-us/library/a90k134d.aspx


Title: Re: how to understand those #define in secp256k1.h?
Post by: jscode017 on October 17, 2018, 02:56:32 PM
thanks for help   :D
this is awesome