Displaying 5 results from an estimated 5 matches for "num_args".
Did you mean:
dm_args
2007 Nov 24
5
Service.start arguments failing or causing segfault
Hi,
Unless I''m mistaken the final arguments to Service.start should be
passed to the Daemon''s service_main method. Correct?
I modified the Service.start method (now in CVS) to look something like
this:
def self.start(service, host=nil, *args)
...
num_args = args.length
if args.empty?
args = nil
else
args.unshift(service) # Necessary?
args = [args.join("\000")].pack(''p*'') # Must pack?
end
unless StartService(handle_scs, num_args, args)
...
end
I wasn''t sure if I needed t...
2011 Sep 22
2
[LLVMdev] How to const char* Value for function argument
Hi,
I'm trying to replace function call with call to
wrapper(function_name, num_args, ...), where varargs hold args of
original call.
Function* launch = Function::Create(
TypeBuilder<int(const char*, int, ...), false>::get(context),
GlobalValue::ExternalLinkage, "kernelgen_launch_", m2);
{
CallInst* call = dyn_cast<CallInst>(cast<Value>(I...
2023 Mar 19
3
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
This is version 4 of the following sub-series:
[libnbd PATCH v3 09/29] lib/utils: introduce async-signal-safe execvpe()
[libnbd PATCH v3 10/29] lib/utils: add unit tests for async-signal-safe execvpe()
http://mid.mail-archive.com/20230215141158.2426855-10-lersek at redhat.com
http://mid.mail-archive.com/20230215141158.2426855-11-lersek at redhat.com
The Notes section on each patch records the
2011 Sep 22
0
[LLVMdev] How to const char* Value for function argument
...From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Dmitry N. Mikushin
Sent: 22 September 2011 11:06
To: LLVM-Dev
Subject: [LLVMdev] How to const char* Value for function argument
Hi,
I'm trying to replace function call with call to
wrapper(function_name, num_args, ...), where varargs hold args of
original call.
Function* launch = Function::Create(
TypeBuilder<int(const char*, int, ...), false>::get(context),
GlobalValue::ExternalLinkage, "kernelgen_launch_", m2);
{...
2007 Mar 01
0
7 commits - libswfdec/swfdec_connection.c libswfdec/swfdec_js_connection.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_js_xml.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_scriptable.h
...g = g_list_first (context->movielist); g; g = g_list_next (g)) {
- listentry = (struct mc_list_entry *)g->data;
-
- if (listentry->movie == movie)
- return listentry->mc;
- }
-
- return NULL;
-}
-
-static void
-swfdec_native_ASSetPropFlags (SwfdecActionContext *context, int num_args,
- ActionVal *_this)
-{
- ActionVal *a;
- ActionVal *b;
- ActionVal *c;
- ActionVal *d;
- int allowFalse = 0;
- int flags;
-
- a = stack_pop (context); /* obj */
- action_val_convert_to_object (a);
- b = stack_pop (context); /* property list */
- c = stack_pop (context); /* flags */
- a...