Thu, 09 Sep 2010 19:35:41 +0100
util.dataforms, squishy: Add util.dataforms library
107
59c6f2deb8ab
libs/encodings.lua: Throw error when calling unimplemented function
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
1 | local function not_impl() |
59c6f2deb8ab
libs/encodings.lua: Throw error when calling unimplemented function
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
2 | error("Encoding function not implemented"); |
59c6f2deb8ab
libs/encodings.lua: Throw error when calling unimplemented function
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
3 | end |
59c6f2deb8ab
libs/encodings.lua: Throw error when calling unimplemented function
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
4 | |
0 | 5 | module "encodings" |
6 | ||
7 | stringprep = {}; | |
107
59c6f2deb8ab
libs/encodings.lua: Throw error when calling unimplemented function
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
8 | base64 = { encode = not_impl, decode = not_impl }; |
0 | 9 | |
10 | return _M; |