Software /
code /
verse
Changeset
107:59c6f2deb8ab
libs/encodings.lua: Throw error when calling unimplemented function
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 21 Aug 2010 15:53:16 +0100 |
parents | 106:7d293830f4a4 |
children | 108:c67ed3fc5571 |
files | libs/encodings.lua |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libs/encodings.lua Sat Aug 21 15:37:04 2010 +0100 +++ b/libs/encodings.lua Sat Aug 21 15:53:16 2010 +0100 @@ -1,5 +1,10 @@ +local function not_impl() + error("Encoding function not implemented"); +end + module "encodings" stringprep = {}; +base64 = { encode = not_impl, decode = not_impl }; return _M;