Package smetana.core
Class size_t_struct
- java.lang.Object
-
- smetana.core.size_t_struct
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.ClasstobeAllocated
-
Constructor Summary
Constructors Constructor Description size_t_struct(java.lang.Class tobeAllocated)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetInternalNb()java.lang.ClassgetTobeAllocated()booleanisStrictNegative()booleanisStrictPositive()booleanisZero()__ptr__malloc()size_t_structmultiply(int sz)size_t_structnegate()size_t_structplus(int strlen)__ptr__realloc(java.lang.Object old)
-
-
-
Method Detail
-
negate
public size_t_struct negate()
-
multiply
public size_t_struct multiply(int sz)
-
isStrictPositive
public boolean isStrictPositive()
- Specified by:
isStrictPositivein interfacesize_t
-
isStrictNegative
public boolean isStrictNegative()
- Specified by:
isStrictNegativein interfacesize_t
-
getTobeAllocated
public final java.lang.Class getTobeAllocated()
-
plus
public size_t_struct plus(int strlen)
-
getInternalNb
public int getInternalNb()
- Specified by:
getInternalNbin interfacesize_t
-
-