代码搜索:object
找到约 10,000 项符合「object」的源代码
代码结果 10,000
www.eeworm.com/read/365329/9869387
c object.c
#include
#include
#include
#include "Object.h"
#include "Object.r"
/*
* Object
*/
static void * Object_ctor (void * _self, va_list * app)
{
return _self;
}
stat
www.eeworm.com/read/365329/9869389
h object.h
#ifndef OBJECT_H
#define OBJECT_H
#include
#include
#include
extern const void * Object; /* new(Object); */
void * new (const void * class, ...);
void delete (void
www.eeworm.com/read/365329/9869410
r object.r
#ifndef OBJECT_R
#define OBJECT_R
struct Object {
const struct Class * class; /* object's description */
};
struct Class {
const struct Object _; /* class' description */
const char * name;
www.eeworm.com/read/365329/9869416
d object.d
#include
#include
#include
%prot
#include
% Class Object {
const Class @ class; // object's description
%
void delete (_self); // reclaim inst
www.eeworm.com/read/365329/9869422
dc object.dc
#include
#include
// Object
% Object ctor {
return _self;
}
% Object dtor {
return _self;
}
% Object differ {
return _self != b;
}
% Object puto {
const struct Class * c
www.eeworm.com/read/365329/9869449
d object.d
#include
#include
#include
typedef void (* Method) (); // for respondsTo()
void * retrieve (FILE * fp); // object from file
%prot
#include
struct Metho
www.eeworm.com/read/365329/9869453
dc object.dc
#include
#include
#include
// Object
% Object new {
%casts
return ctor(allocate(self), app);
}
% Object ctor {
%casts
return self;
}
% Object dtor {
%casts
retu
www.eeworm.com/read/365329/9869489
d object.d
#include
#include
#include
typedef void (* Method) (); // for respondsTo()
void * retrieve (FILE * fp); // object from file
%prot
#include
struct Metho
www.eeworm.com/read/365329/9869493
dc object.dc
#include
#include
#include
// Object
% Object new {
%casts
return ctor(allocate(self), app);
}
% Object ctor {
%casts
return self;
}
% Object dtor {
%casts
retu
www.eeworm.com/read/365329/9869537
d object.d
#include
#include
#include
typedef void (* Method) (); // for respondsTo()
%prot
#include
struct Method {
const char * tag; // for respondsTo()
Meth