Browse Source

added missing semicolon, and SyncHandshakeResult to types c & java

JNI-44
Hussein Kasem 9 years ago
parent
commit
d75503faa6
  1. 2
      src/pEp.yml2
  2. 1
      src/types_c.ysl2
  3. 4
      src/types_java.ysl2

2
src/pEp.yml2

@ -84,7 +84,7 @@ namespace pEp {
sync_handshake_cancel > -1 sync_handshake_cancel > -1
sync_handshake_accepted > 0 sync_handshake_accepted > 0
sync_handshake_rejected > 1 sync_handshake_rejected > 1
} };
interface Engine { interface Engine {
method encrypt_message( method encrypt_message(

1
src/types_c.ysl2

@ -14,6 +14,7 @@ function "toC" {
when "$type='bool'" > bool when "$type='bool'" > bool
when "$type='DecryptFlags'" > PEP_decrypt_flags_t when "$type='DecryptFlags'" > PEP_decrypt_flags_t
when "$type='Color'" > PEP_color when "$type='Color'" > PEP_color
when "$type='SyncHandshakeResult'" > sync_handshake_result
otherwise value "$type"; otherwise value "$type";
} }

4
src/types_java.ysl2

@ -1,4 +1,4 @@
function "toJava" { function "toJava" {
param "type"; param "type";
choose { choose {
@ -61,6 +61,7 @@ function "toSig" {
when "$type='message'" > org/pEp/jniadapter/Message when "$type='message'" > org/pEp/jniadapter/Message
when "$type='Color'" > org/pEp/jniadapter/Color when "$type='Color'" > org/pEp/jniadapter/Color
when "$type='DecryptFlags'" > org/pEp/jniadapter/DecryptFlags when "$type='DecryptFlags'" > org/pEp/jniadapter/DecryptFlags
when "$type='SyncHandshakeResult'" > org/pEp/jniadapter/SyncHandshakeResult
} }
> ; > ;
} }
@ -79,6 +80,7 @@ function "toIntermediate" {
when "$type='bloblist'" > Vector<_Blob> when "$type='bloblist'" > Vector<_Blob>
when "$type='bool'" > boolean when "$type='bool'" > boolean
when "$type='DecryptFlags'" > DecryptFlags when "$type='DecryptFlags'" > DecryptFlags
when "$type='SyncHandshakeResult'" > SyncHandshakeResult
otherwise call "toJava" with "type", "$type"; otherwise call "toJava" with "type", "$type";
} }

Loading…
Cancel
Save