More work, finishing the parse_input and lots of reducer
This commit is contained in:
@@ -7,6 +7,14 @@ __if_comp__ __C__ simple_passthrough """
|
||||
|
||||
/* we have a template versions so we don't have to cast (because we don't have that yet) */
|
||||
|
||||
fun null<T>(): *T {
|
||||
__if_comp__ __C__ {
|
||||
simple_passthrough(::) """
|
||||
return (void*)0;
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
fun malloc<T>(size: int): *T {
|
||||
var memPtr: *T;
|
||||
__if_comp__ __C__ {
|
||||
|
||||
Reference in New Issue
Block a user