]> granicus.if.org Git - check/commitdiff
check.h: export suite_tcase() function
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sat, 4 Jan 2014 18:33:35 +0000 (18:33 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sat, 4 Jan 2014 18:33:35 +0000 (18:33 +0000)
Because it did not have CK_EXPORT in front of it, the symbol
was not being exported. It looks like this function should
be callable, but it could not before.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1009 64e312b2-a51f-0410-8e61-82d0ca0eb02a

src/check.h.in

index 5124ace9e8379175bbf114a6d01ce01641973a6c..1a0e08d7c28b200db4c59870d308367d57a537ae 100644 (file)
@@ -162,7 +162,7 @@ CK_DLL_EXP Suite * CK_EXPORT suite_create (const char *name);
 
 /* Determines whether a given test suite contains a case named after a
    given string.  */
-CK_DLL_EXP int suite_tcase (Suite *s, const char *tcname);
+CK_DLL_EXP int CK_EXPORT suite_tcase (Suite *s, const char *tcname);
 
 /* Add a test case to a suite */
 CK_DLL_EXP void CK_EXPORT suite_add_tcase (Suite *s, TCase *tc);