SkyLine_Backend_Native_Plugins

package
v0.0.0-...-72c8661 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2023 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

This file contains all information for the SkyLine standard library //   _____ _       __    _             _____ _         _
such as the math, io, IoT, ECP, Socket, Web, HTTP and other various //  |   __| |_ _ _|  |  |_|___ ___ ___|  _  | |_ _ ___|_|___
library content types. This code section defines a sub unit under a //  |__   | '_| | |  |__| |   | -_|___|   __| | | | . | |   |
primary unit. This means that this section is under neath all of the//  |_____|_,_|_  |_____|_|_|_|___|   |__|  |_|___|_  |_|_|_|
primary units that define the functions to register the sub func's  //            |___|                               |___|

////////////////////////////////////////////////////////////////////////

This section of files contain mathemaical functions that can be registered into the SkyLine programming language. Most of these automate the backend of golang's basic

interfaces for math and automate most of the backend. However, some other functions may be algorithmic implementations, specific sets or tweaks that can also be added.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

	^...^
   <_* *_>
	 \_/

This file defines all of the functions dedicated to foreign function interfaces such as lua or go plugins

Index

Constants

This section is empty.

Variables

View Source
var ReflectMap = map[reflect.Kind]string{
	reflect.Array:         "Array",
	reflect.Bool:          "Boolean",
	reflect.Chan:          "Channel",
	reflect.Complex64:     "Complex64",
	reflect.Complex128:    "Complex128",
	reflect.Float32:       "Float32",
	reflect.Float64:       "Float64",
	reflect.Func:          "Function",
	reflect.Int:           "Int",
	reflect.Int8:          "Int8",
	reflect.Int16:         "Int16",
	reflect.Int32:         "Int32",
	reflect.Int64:         "Int64",
	reflect.Interface:     "Interface",
	reflect.Map:           "Map",
	reflect.Ptr:           "Pointer",
	reflect.Slice:         "Slice",
	reflect.String:        "String",
	reflect.Struct:        "Struct",
	reflect.Uint:          "Uint",
	reflect.Uint8:         "Uint8",
	reflect.Uint16:        "Uint16",
	reflect.Uint32:        "Uint32",
	reflect.Uint64:        "Uint64",
	reflect.Uintptr:       "Uintptr",
	reflect.UnsafePointer: "UnsafePointer",
}

Functions

func ExecutePluginEnvironmentBufferView

func ExecutePluginEnvironmentBufferView(Environ *SkyEnv.SkyLineEnvironment, args ...SkyEnv.SL_Object) SkyEnv.SL_Object

Functions point is to view every exported variable and its name

func ExecutePluginExtractAllVarList

func ExecutePluginExtractAllVarList(Environ *SkyEnv.SkyLineEnvironment, args ...SkyEnv.SL_Object) SkyEnv.SL_Object

func ExecutePluginFunction

func ExecutePluginFunction(Environ *SkyEnv.SkyLineEnvironment, args ...SkyEnv.SL_Object) SkyEnv.SL_Object

func ExecutePluginLoadBuffer

func ExecutePluginLoadBuffer(Environ *SkyEnv.SkyLineEnvironment, args ...SkyEnv.SL_Object) SkyEnv.SL_Object

func GenerateSomeRandomName

func GenerateSomeRandomName() string

func InitatePlugin

func InitatePlugin(Environ *SkyEnv.SkyLineEnvironment, args ...SkyEnv.SL_Object) SkyEnv.SL_Object

Types

type PluginSession

type PluginSession struct {
	LoadedPluginFile string
	CurrentPlugin    *plugin.Plugin
}
var (
	VariableList = make(map[string]interface{})
	PlugSes      PluginSession
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL