Mercurial > urweb
view demo/refFun.urs @ 1998:cc7e5d469d1b
Protect uw_Basis_new_client_source from invalid ctx->id
We assume that FFI code may create new contextes with id left unassigned
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Wed, 26 Feb 2014 09:43:47 +0000 |
parents | cb5897276abf |
children |
line wrap: on
line source
functor Make(M : sig type data val inj : sql_injectable data end) : sig type ref val new : M.data -> transaction ref val read : ref -> transaction M.data val write : ref -> M.data -> transaction unit val delete : ref -> transaction unit end