Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsole committed Jul 23, 2023
1 parent 90a27e3 commit fb01445
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions renderer/experimental-renderer-windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,23 @@

package renderer

import "errors"
import (
"errors"
"net/http"
"os"
"time"
)

func LoadData(path string, maxZ uint32, tempFile *os.File) (*Data, error) {
return _, errors.New("not implemented on Windows")
return nil, errors.New("not implemented on Windows")
}

func Mmap(path string) (*[]byte, *os.File, error) {
return _, _, errors.New("not implemented on Windows")
return nil, nil, errors.New("not implemented on Windows")
}

func HandleRenderRequest(w http.ResponseWriter, r *http.Request, duration time.Duration, data *Data, maxTreeDepth uint32, mmapData *[]byte) {
return _, errors.New("not implemented on Windows")
return nil, errors.New("not implemented on Windows")
}

func Munmap(data *[]byte) error {
Expand Down

0 comments on commit fb01445

Please sign in to comment.