1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

orm fixes; glfw: remove C code

This commit is contained in:
Alexander Medvednikov
2019-08-13 14:50:19 +03:00
parent a5af903362
commit dc9cebe26c
7 changed files with 101 additions and 60 deletions

View File

@@ -81,6 +81,7 @@ pub fn run<T>(port int) {
conn := l.accept() or {
panic('accept() failed')
}
foobar<T>()
// TODO move this to handle_conn<T>(conn, app)
s := conn.read_line()
if s == '' {
@@ -159,6 +160,9 @@ pub fn run<T>(port int) {
}
pub fn foobar<T>() {
}
fn (ctx mut Context) parse_form(s string) {
if !(ctx.req.method in methods_with_form) {
return