The inverse -- calling a C function from Lua -- is similar.
反之,在 Lua 中调用C函数也与之类似。
Based on the definition, a class of parameter - free F- C function is proposed.
基于这个定义,提出了一类无参数的F—C函数。
You may be wondering exactly how calling a GObject method differs from calling a simple C function.
您可能会感到疑惑:调用GObject方法与调用简单的C 函数到底有何区别?
The first thing you'll notice is that although this is a C function, it receives a Scheme object and returns a Scheme object in response (SCM type).
首先需要注意的是,虽然这是一个C函数,但是它接受一个Scheme对象,并返回一个 Scheme 对象(SCM类型)。
What you should see is a complete listing of the getcwd() function and a listing of the arguments that this important C function requires and returns.
您所看到的应该是getcwd()函数完整的清单以及这个重要的C 函数需要的和返回的参数清单。
To make one executable look like many executables, BusyBox exploits a seldom-used feature of argument passing to the main C function. Recall that the C main function is defined as follows
为了让一个可执行程序看起来就像是很多可执行程序一样,BusyBox 为传递给C的 main函数的参数开发了一个很少使用的特性。
C doesn't include a built-in capability to handle exceptions, so by default it ignores any function returns if you don't do anything with them.
c语言没有包含一种内置的功能来处理异常,因此默认情况下,如果您不处理函数的返回值,它就会将其忽略。
The UML to C++ transformation provides two options for generating code for an inline function.
UML到 C++ 的转换为生成一个内联函数的代码生成提供了两个选项。
This result cannot be represented in a single variable in c, so the multiply function returns the result in two different output parameters.
这个结果在c语言中无法使用单个变量进行表示,因此这个乘法函数会以两个不同输出参数的形式返回结果。
The developer defines a function, much like those in functional languages like c, and generates code that makes the function look like a normal function to the caller.
开发人员定义一个函数,这与c语言中的函数语言非常类似,并生成代码,使该函数对调用方而言看上去就像一个常规函数。
Once the package is created, use the import function to bring in your COBOL or C files.
一旦创建了包,就使用导入功能导入您的COBOL或C文件。
This example shows the C++ source code that contains a non-class function, a Private member function of a class, and a Public member function of a class.
这个示例使用的 C++源代码包含一个非类函数、类的一个私有成员函数和一个公共成员函数。
Most C compilers do not use this STAB (they expect the debugger to assume that the name is main), but some C compilers emit an N_MAIN STAB for the main function.
大多数C编译器不会使用该STAB(它们希望调试器假设该名称是主程序的名称),但是一些 C 编译器会发出 N_MAIN STAB 来获得主函数。
If you need this behavior, consider calling the C exit function from your COBOL program and using _twzCOBOLTerm after the runtime termination exit.
如果需要使用这种行为,可以考虑从COBOL程序调用Cexit函数,并在运行时终止退出后使用 _twzCOBOLTerm。
Even if you don't use multithreading, initialize Xerces-C + + up front to avoid multiple calls to this function and then terminate when your application terminates.
即使不使用多线程处理,也要预先初始化xerces - C+ +以避免多次调用这个函数,然后在应用程序结束时将其终止。
The first example illustrates calling a Scheme function from C, passing in an argument, and capturing the return value.
第一个例子演示如何从C调用一个Scheme函数,传入一个参数,并捕获返回值。
Think of this as a specialized version of the C library function select, but for DMA transfers.
可以把它看作C库函数select的特殊版本,但是针对的是DMA传输。
For example, a copy function should be implemented with a Ctrl-C shortcut, named copy, and given a tooltip of copy.
比如,复制功能应该使用快捷键Ctrl - c(称为Copy)实现,而且提供了一个Copy工具提示。
To generate a C++ friend function that is a friend of a class, you need to create a UML operation within a UML Class and apply the cpp_operation stereotype on the UML operation.
为了在一个类中创建一个 C++友函数,您需要在一个UML 类的内部创建一个 UML操作,并且将 cpp_operation套用在该 UML 操作上面。
C + + Builder developers need to pass an additional (first) Owner argument to the HandleReconcileError function, by the way.
C+ +Builder开发人员需要将一个额外的(第一个)owner参数传递给HandleReconcileError函数,方法如下。
COM specifies that any interface must follow a standard memory layout, which is the same as the C++ virtual function table (see Rogerson96 in Resources).
COM指定任何接口都必须遵循一个标准的内存规划,这与 C++ 的虚拟函数表(请参阅 参考资料中的 Rogerson96)相同。
Yet another use of attributes is to set function types, such as cdecl, stdcall, and fastcall, to Visual C++.
属性的另一个用途是为 Visual C++设置函数类型,如cdecl、stdcall和 fastcall。
Since the thread scheduler really amounts to instructions to "do a, then do B, then do c, etc." it was not difficult to create an entirely parallel case in a main function.
因为线程调度程序真的等同于“执行a,接着执行b,然后执行c,等等”的指令,所以要在主函数中创建一个完全并行的情况也不困难。
Then formatting the output of the data is a matter of either using the printf() function, which is similar to C/C++, or using proper HTML table tags.
然后设定数据输出的格式可以使用printf()函数(类似于C/C++),也可以使用适当的HTML表标记。
It defines a C-language function to do the expected action, and then it treats it as a Perl function thereafter.
它定义了一个c语言的函数来完成预期的任务,然后又将它作为一个Perl函数来处理。
So it turns out that, main, yes, is the default function you write, at least in c, when writing a program.
结果是,main函数,是的,这是你写的默认函数,至少是在C语言中,当写程序的时候。
To Invoke an Application-Supplied Algorithm The C runtime library function qsort sorts an array of objects, but you must supply the function that compares objects.
调用应用程序提供的算法:C运行时库函数qsort 排序对象数组,但你必须提供比较函数。
This script displays the response to the call to c_square, which is the function exported in the C program in Listing 5.
该脚本显示 c_square函数调用的响应,该函数是清单5中的C程序导出的函数。
So, just to get you used to this idea, I'm going to draw a level surface of a function of three variables OK, so it's a surface given by the equation w of x, y, z equals some constant c.
为了令你们习惯于这个想法,我画一个三变量函数的等值面,这是一个平面,由函数w=c给出的。
So, just to get you used to this idea, I'm going to draw a level surface of a function of three variables OK, so it's a surface given by the equation w of x, y, z equals some constant c.
为了令你们习惯于这个想法,我画一个三变量函数的等值面,这是一个平面,由函数w=c给出的。
应用推荐