History

apopros functions and apis

gewang committed 5 years ago

Commit 449ef401 parent 9967a047 files · +312 −76Browse files

Showing the changes to src/core/chuck_dl.cpp (1 of 7 files). Show all

Unified · Split

src/core/chuck_dl.cpp+8−8
@@ -576,12 +576,12 @@ Chuck_DL_MainThreadHook * CK_DLL_CALL ck_create_main_thread_hook( Chuck_DL_Query · 575 unmodified lines
576//-----------------------------------------------------------------------------576//-----------------------------------------------------------------------------
577t_CKBOOL CK_DLL_CALL ck_doc_class( Chuck_DL_Query * query, const char * doc )577t_CKBOOL CK_DLL_CALL ck_doc_class( Chuck_DL_Query * query, const char * doc )
578{578{
579#ifdef CK_DOC // disable unless CK_DOC579// #ifdef CK_DOC // disable unless CK_DOC
580 if(query->curr_class)580 if(query->curr_class)
581 query->curr_class->doc = doc;581 query->curr_class->doc = doc;
582 else582 else
583 return FALSE;583 return FALSE;
584#endif // CK_DOC584// #endif // CK_DOC
585 585
586 return TRUE;586 return TRUE;
587}587}
@@ -592,12 +592,12 @@ t_CKBOOL CK_DLL_CALL ck_doc_class( Chuck_DL_Query * query, const char * doc ) · 4 unmodified lines
592//-----------------------------------------------------------------------------592//-----------------------------------------------------------------------------
593t_CKBOOL CK_DLL_CALL ck_add_example( Chuck_DL_Query * query, const char * ex )593t_CKBOOL CK_DLL_CALL ck_add_example( Chuck_DL_Query * query, const char * ex )
594{594{
595#ifdef CK_DOC // disable unless CK_DOC595// #ifdef CK_DOC // disable unless CK_DOC
596 if(query->curr_class)596 if(query->curr_class)
597 query->curr_class->examples.push_back(ex);597 query->curr_class->examples.push_back(ex);
598 else598 else
599 return FALSE;599 return FALSE;
600#endif // CK_DOC600// #endif // CK_DOC
601 601
602 return TRUE;602 return TRUE;
603}603}
@@ -605,12 +605,12 @@ t_CKBOOL CK_DLL_CALL ck_add_example( Chuck_DL_Query * query, const char * ex ) · 1 unmodified line
605// set current function documentation605// set current function documentation
606t_CKBOOL CK_DLL_CALL ck_doc_func( Chuck_DL_Query * query, const char * doc )606t_CKBOOL CK_DLL_CALL ck_doc_func( Chuck_DL_Query * query, const char * doc )
607{607{
608#ifdef CK_DOC // disable unless CK_DOC608// #ifdef CK_DOC // disable unless CK_DOC
609 if(query->curr_func)609 if(query->curr_func)
610 query->curr_func->doc = doc;610 query->curr_func->doc = doc;
611 else611 else
612 return FALSE;612 return FALSE;
613#endif // CK_DOC613// #endif // CK_DOC
614 614
615 return TRUE;615 return TRUE;
616}616}
@@ -618,12 +618,12 @@ t_CKBOOL CK_DLL_CALL ck_doc_func( Chuck_DL_Query * query, const char * doc ) · 1 unmodified line
618// set last mvar documentation618// set last mvar documentation
619t_CKBOOL CK_DLL_CALL ck_doc_var( Chuck_DL_Query * query, const char * doc )619t_CKBOOL CK_DLL_CALL ck_doc_var( Chuck_DL_Query * query, const char * doc )
620{620{
621#ifdef CK_DOC // disable unless CK_DOC621// #ifdef CK_DOC // disable unless CK_DOC
622 if(query->last_var)622 if(query->last_var)
623 query->last_var->doc = doc;623 query->last_var->doc = doc;
624 else624 else
625 return FALSE;625 return FALSE;
626#endif // CK_DOC626// #endif // CK_DOC
627 627
628 return TRUE;628 return TRUE;
629}629}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t