X-Git-Url: http://git.code-monkey.de/?p=ruby-ecore.git;a=blobdiff_plain;f=src%2Fecore_job%2Frb_job.c;fp=src%2Fecore_job%2Frb_job.c;h=e6d93f0c0a664ae2ebc96409802ad48090f576c2;hp=d4348cffb0660f8c6ebb598eaddd0f8e6583e960;hb=041804188a058aa7bbc76c81e4a816255a635f00;hpb=192810ef6a572e9581c60cdbbd5b3858e815d1d6 diff --git a/src/ecore_job/rb_job.c b/src/ecore_job/rb_job.c index d4348cf..e6d93f0 100644 --- a/src/ecore_job/rb_job.c +++ b/src/ecore_job/rb_job.c @@ -1,5 +1,5 @@ /* - * $Id: rb_job.c 50 2004-08-01 10:18:39Z tilman $ + * $Id: rb_job.c 60 2004-08-10 14:12:36Z tilman $ * * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de) * @@ -55,6 +55,13 @@ static void c_free (RbJob *job) free (job); } +/* + * call-seq: + * Ecore::Job::Job.new { block } => job + * + * Creates an Ecore::Job::Job object. + * After execution, the object will be deleted. + */ static VALUE c_new (VALUE klass) { VALUE self; @@ -75,6 +82,12 @@ static VALUE c_new (VALUE klass) return self; } +/* + * call-seq: + * job.delete => nil + * + * Deletes job. + */ static VALUE c_delete (VALUE self) { VALUE ret = Qfalse;