sync/gen_statemachine.ysl2
changeset 654 0aa96447e38f
parent 627 ef1fdfde8ced
child 690 3ae86b68fdfe
     1.1 --- a/sync/gen_statemachine.ysl2	Wed May 18 12:22:02 2016 +0200
     1.2 +++ b/sync/gen_statemachine.ysl2	Wed May 18 12:54:22 2016 +0200
     1.3 @@ -17,6 +17,10 @@
     1.4          // state machine for «@name»
     1.5  
     1.6          #include "pEpEngine.h"
     1.7 +        
     1.8 +        #ifdef __cplusplus
     1.9 +        extern "C" {
    1.10 +        #endif
    1.11  
    1.12          // types
    1.13  
    1.14 @@ -59,6 +63,10 @@
    1.15  
    1.16          PEP_STATUS fsm_«@name»_inject(PEP_SESSION session, «@name»_event event);
    1.17  
    1.18 +        #ifdef __cplusplus
    1.19 +        }
    1.20 +        #endif
    1.21 +
    1.22          ||
    1.23          ||
    1.24          #include "sync_fsm.h"