Skip to content

Commit

Permalink
added CON_SET_CURR_PS macro
Browse files Browse the repository at this point in the history
  • Loading branch information
ionutrazvanionita committed Apr 22, 2015
1 parent 0b6402c commit 91fc6cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/db_ps.h
Expand Up @@ -37,6 +37,7 @@ typedef void * db_ps_t;
#define CON_PS_REFERENCE(cn) ((cn)->curr_ps)

#define CON_RESET_CURR_PS(cn) *((void***)&cn->curr_ps)=NULL
#define CON_SET_CURR_PS(cn, ptr) *((void***)&cn->curr_ps)=ptr

#endif

Expand Down

0 comments on commit 91fc6cc

Please sign in to comment.