Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (22 sloc) 530 Bytes
$include_const 'datatypes.pasm';
$include_const "iglobals.pasm";
namespace Git2 {
class Oid {
function get_sv() {
/*
typedef struct {
// raw binary formatted id
unsigned char id[GIT_OID_RAWSZ];
} git_oid;
*/
var sv = new 'StructView'([ DATATYPE_STRUCT, 1,
DATATYPE_PTR
]);
while (1) { yield(sv); }
}
var ptr;
function Oid() {
self.ptr = self.get_sv().alloc();
}
}
}
Jump to Line
Something went wrong with that request. Please try again.