Documentation ¶
Overview ¶
This package implements automated mumax API generation. Based on the exported methods of engine.API, an API library in any of the supported programming languages is automatically generated.
Author: Arne Vansteenkiste
This package implements automated mumax API generation. Based on the exported methods of engine.API, an API library in any of the supported programming languages is automatically generated.
Author: Arne Vansteenkiste
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Lang ¶
type Lang interface { Filename() string //file name for the API file Comment() string //Comment token like # or // WriteHeader(out io.Writer) //Write the header of the source file WriteFunc(out io.Writer, name string, comment []string, argNames []string, argTypes []reflect.Type, returnTypes []reflect.Type) // Write a function wrapper to the source file }
Represents a programming language.
type Python ¶
type Python struct{}
func (*Python) WriteFooter ¶
func (*Python) WriteHeader ¶
type Tex ¶
type Tex struct{}
Does not generate a true API library, but a TeX file with API documentation.
func (*Tex) WriteFooter ¶
func (*Tex) WriteHeader ¶
Click to show internal directories.
Click to hide internal directories.