scalapy-core
scalapy-core
me.shadaj.scalapy
PyNone
None
me.shadaj.scalapy.interpreter
CPythonAPI
CPythonInterpreter
Platform
PlatformMacros
PyValue
PyValue
SingleThreadLocal
me.shadaj.scalapy.py
Any
Any
AnyDynamics
AnyPopulateWith
AnyRawValue
ConvertableToSeqElem
ConvertableToSeqElem
Dynamic
Dynamic
DynamicGlobal
global
FacadeCreator
FacadeCreator
FacadesCreatorMacros
IndexError
Module
Module
ModuleApply
Object
PyFunction
PyMacros
PyBracketAccess
native
PyQuotable
PyQuotable
PyQuote
PythonException
SeqConverters
StaticModule
StaticValue
|
|
me.shadaj.scalapy.readwrite
FunctionReaders
FunctionWriters
Reader
Reader
TupleReaders
TupleWriters
Writer
Writer
me.shadaj.scalapy.util
Compat
scalapy-core
/
me.shadaj.scalapy.interpreter
/
Platform
Platform
object
Platform
extends
PlatformMacros
Graph
Supertypes
Self type
trait
PlatformMacros
class
Object
trait
Matchable
class
Any
Platform
.type
Type members
Value members
Type members
Types
type
CString
=
CString
type
Pointer
=
Ptr
[
Byte
]
type
PointerToPointer
=
Ptr
[
Ptr
[
Byte
]]
type
ThreadLocal
[
T
] =
SingleThreadLocal
[
T
]
Value members
Concrete methods
def
Zone
[
T
](
fn:
Zone
=>
T
):
T
def
alloc
(
size:
Int
):
Pointer
def
allocPointerToPointer
(
implicit
zone:
Zone
):
PointerToPointer
def
cLongToLong
(
cLong:
CLong
):
Long
def
cSizeToLong
(
cSize:
CSize
):
Long
def
dereferencePointerToPointer
(
pointer:
PointerToPointer
):
Pointer
def
fromCString
(
ptr:
Pointer
,
charset:
Charset
):
String
def
intToCLong
(
int:
Int
):
CLong
def
intToCSize
(
int:
Int
):
CSize
def
pointerToLong
(
pointer:
Pointer
):
Long
def
ptrSize
:
Int
def
setPtrByte
(
ptr:
Pointer
,
offset:
Int
,
value:
Byte
):
Unit
def
setPtrInt
(
ptr:
Pointer
,
offset:
Int
,
value:
Int
):
Unit
def
setPtrLong
(
ptr:
Pointer
,
offset:
Int
,
value:
Long
):
Unit
def
threadLocalWithInitial
[
T
](
initial: ()
=>
T
):
SingleThreadLocal
[
T
]
def
toCString
(
str:
String
,
charset:
Charset
)(
implicit
zone:
Zone
):
CString
def
toCWideString
[
T
](
str:
String
)(
fn:
Ptr
[
CWideChar
]
=>
T
):
T
Inherited methods
inline
def
getFnPtr2
(
inline
fn: (
Ptr
[
Byte
],
Ptr
[
Byte
])
=>
Ptr
[
Byte
]): (
Any
,
Ptr
[
Byte
])
Inherited from:
PlatformMacros
Concrete fields
val
emptyCString
:
CString
final
val
isNative
: true