Bitcoin Forum
May 13, 2024, 05:54:53 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how to understand those #define in secp256k1.h?  (Read 212 times)
jscode017 (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 1


View Profile
October 16, 2018, 01:08:18 PM
Merited by bones261 (1)
 #1

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

1715579693
Hero Member
*
Offline Offline

Posts: 1715579693

View Profile Personal Message (Offline)

Ignore
1715579693
Reply with quote  #2

1715579693
Report to moderator
1715579693
Hero Member
*
Offline Offline

Posts: 1715579693

View Profile Personal Message (Offline)

Ignore
1715579693
Reply with quote  #2

1715579693
Report to moderator
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715579693
Hero Member
*
Offline Offline

Posts: 1715579693

View Profile Personal Message (Offline)

Ignore
1715579693
Reply with quote  #2

1715579693
Report to moderator
1715579693
Hero Member
*
Offline Offline

Posts: 1715579693

View Profile Personal Message (Offline)

Ignore
1715579693
Reply with quote  #2

1715579693
Report to moderator
1715579693
Hero Member
*
Offline Offline

Posts: 1715579693

View Profile Personal Message (Offline)

Ignore
1715579693
Reply with quote  #2

1715579693
Report to moderator
jscode017 (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 1


View Profile
October 16, 2018, 02:17:57 PM
 #2

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
jscode017 (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 1


View Profile
October 17, 2018, 02:31:22 AM
 #3

Thanks
this will probably solve my problem
odolvlobo
Legendary
*
Offline Offline

Activity: 4312
Merit: 3214



View Profile
October 17, 2018, 07:27:38 AM
 #4

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

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
jscode017 (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 1


View Profile
October 17, 2018, 02:56:32 PM
 #5

thanks for help   Cheesy
this is awesome
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!