Displaying 3 results from an estimated 3 matches for "test_orig".
2011 Dec 13
1
[LLVMdev] Issues in converting C++ code to C using llvm and llc
...g" as oppose to llvm-g++.
Here is what I want to accomplish: I have a simple c++ prog which I want to
convert to c using llvm
-----------------------------------------------------------------
For example
-------------------------------------------------------------------------
c++ orig file: test_orig.cpp
-----
#include<iostream>
int main()
{
std::cout << "hello world from C++\n";
return 0;
}
---------------------------------
c orig file: test_orig.c
-----
#include<stdio>
int main()
{
printf("Hello workd from C\n");
return 0;
}
----------------------...
2011 Apr 08
6
Variable inheritance with dialplan command Originate
...ought that when spawning a channel using the Originate() dialplan command, variables prefixed with two underscores would be preserved.
However this does not work in the following case.
Dialplan code:
[intern]
exten => 200,1,Set(__myvar="foo")
exten => 200,n,Originate(Local/123 at test_orig,exten,dummy)
[test_orig]
exten => 123,1,NoOp(${myvar})
exten => 123,n,Hangup()
[dummy]
/end dialplan code.
Console output:
-- Executing [200 at intern:1] Set("SIP/200-00000018", "__myvar="foo"") in new stack
-- Executing [200 at intern:2] Originate(&...
2011 Apr 09
1
asterisk-users Digest, Vol 81, Issue 27
...iables prefixed with two underscores
>> would be preserved.
>>
>> However this does not work in the following case.
>>
>> Dialplan code:
>>
>> [intern]
>> exten => 200,1,Set(__myvar="foo")
>> exten => 200,n,Originate(Local/123 at test_orig,exten,dummy)
>>
>> [test_orig]
>> exten => 123,1,NoOp(${myvar})
>> exten => 123,n,Hangup()
>>
>> [dummy]
>>
>> /end dialplan code.
>>
>> Console output:
>>
>> -- Executing [200 at intern:1] Set("SIP/200-00000018&...