Module test stdlib

test
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
1
Imported by:
0
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

  • Standard Library

Imported by

This section is empty.

Overview

A simple example to show how to call a function written in v from python

Step 1: Compile the v code to a shared library using v -d no_backtrace -shared test.v

Step 2: Run the python file using python3 test.py

Note: you do not need -d no_backtrace if you use gcc or clang .

Aliases

This section is empty.

Constants

This section is empty.

Sum types

This section is empty.

Functions

This section is empty.

Structs

This section is empty.

Interfaces

This section is empty.

Enums

This section is empty.