DLL export of a static function

后端 未结 2 1046
说谎
说谎 2021-01-14 08:41

I have the following static function:

static inline HandVal
              StdDeck_StdRules_EVAL_N( StdDeck_CardMask cards, int n_cards )

Ca

2条回答
  •  花落未央
    2021-01-14 09:16

    You may not export that function from a DLL. static functions are equivalent to private to that file.

    You can create a method in the file that calls it and export that.

提交回复
热议问题