当前位置: 首页>>代码示例>>Java>>正文


Java Ptr类代码示例

本文整理汇总了Java中org.bridj.ann.Ptr的典型用法代码示例。如果您正苦于以下问题:Java Ptr类的具体用法?Java Ptr怎么用?Java Ptr使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


Ptr类属于org.bridj.ann包,在下文中一共展示了Ptr类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: apply

import org.bridj.ann.Ptr; //导入依赖的package包/类
public boolean apply(@Ptr long location, @Ptr long name, @Ptr long arguments, @Ptr long arguments_size, @Ptr long data, @Ptr long symbol_callback, @Ptr long symbol_callback_data) {
	return apply((Pointer)Pointer.pointerToAddress(location, clingo_location.class), (Pointer)Pointer.pointerToAddress(name, Byte.class), (Pointer)Pointer.pointerToAddress(arguments, Long.class), arguments_size, Pointer.pointerToAddress(data), (Pointer)Pointer.pointerToAddress(symbol_callback, ClingoLibrary.clingo_symbol_callback_t.class), Pointer.pointerToAddress(symbol_callback_data));
}
 
开发者ID:lorislab,项目名称:clingo4j,代码行数:4,代码来源:ClingoLibrary.java

示例2: clingo_control_use_enumeration_assumption

import org.bridj.ann.Ptr; //导入依赖的package包/类
@Name("clingo_control_use_enumeration_assumption") 
protected native boolean clingo_control_use_enumeration_assumption(@Ptr long control, boolean enable);
 
开发者ID:lorislab,项目名称:clingo4j,代码行数:3,代码来源:ClingoLibrary.java

示例3: size

import org.bridj.ann.Ptr; //导入依赖的package包/类
@Ptr 
@Field(2) 
public long size() {
	return this.io.getSizeTField(this, 2);
}
 
开发者ID:lorislab,项目名称:clingo4j,代码行数:6,代码来源:clingo_ast_external.java

示例4: clingo_backend_external

import org.bridj.ann.Ptr; //导入依赖的package包/类
@Name("clingo_backend_external") 
protected native boolean clingo_backend_external(@Ptr long backend, int atom, int type);
 
开发者ID:lorislab,项目名称:clingo4j,代码行数:3,代码来源:ClingoLibrary.java

示例5: __iplCreateProbeBox

import org.bridj.ann.Ptr; //导入依赖的package包/类
protected native static int __iplCreateProbeBox(@Ptr long scene, @Ptr long box, @Ptr long placementParams,
@Ptr long progressCallback, @Ptr long probeBox);
 
开发者ID:justjanne,项目名称:SteamAudio-Java,代码行数:3,代码来源:SteamAudioBridge.java

示例6: clingo_configuration_map_subkey_name

import org.bridj.ann.Ptr; //导入依赖的package包/类
@Name("clingo_configuration_map_subkey_name") 
protected native boolean clingo_configuration_map_subkey_name(@Ptr long configuration, int key, @Ptr long offset, @Ptr long name);
 
开发者ID:lorislab,项目名称:clingo4j,代码行数:3,代码来源:ClingoLibrary.java

示例7: apply

import org.bridj.ann.Ptr; //导入依赖的package包/类
public boolean apply(int atom_id_or_zero, int term_id, Pointer<Integer > elements, @Ptr long size, Pointer<? > data) {
	return apply(atom_id_or_zero, term_id, Pointer.getPeer(elements), size, Pointer.getPeer(data));
}
 
开发者ID:lorislab,项目名称:clingo4j,代码行数:4,代码来源:clingo_ground_program_observer.java

示例8: __iplCreateEnvironmentalRenderer

import org.bridj.ann.Ptr; //导入依赖的package包/类
protected native static int __iplCreateEnvironmentalRenderer(@Ptr long context, @Ptr long environment,
@Ptr long renderingSettings,
@Ptr long outputFormat, @Ptr long renderer);
 
开发者ID:justjanne,项目名称:SteamAudio-Java,代码行数:4,代码来源:SteamAudioBridge.java

示例9: size

import org.bridj.ann.Ptr; //导入依赖的package包/类
@Ptr 
@Field(1) 
public long size() {
	return this.io.getSizeTField(this, 1);
}
 
开发者ID:lorislab,项目名称:clingo4j,代码行数:6,代码来源:clingo_ast_theory_unparsed_term.java

示例10:

import org.bridj.ann.Ptr; //导入依赖的package包/类
@Name("clingo_warning_string") 
@Ptr 
protected native long clingo_warning_string$2(int code);
 
开发者ID:lorislab,项目名称:clingo4j,代码行数:4,代码来源:ClingoLibrary.java

示例11: apply

import org.bridj.ann.Ptr; //导入依赖的package包/类
public boolean apply(Pointer<clingo_propagate_control > control, Pointer<Integer > changes, @Ptr long size, Pointer<? > data) {
	return apply(Pointer.getPeer(control), Pointer.getPeer(changes), size, Pointer.getPeer(data));
}
 
开发者ID:lorislab,项目名称:clingo4j,代码行数:4,代码来源:clingo_propagator.java

示例12: clingo_control_solve

import org.bridj.ann.Ptr; //导入依赖的package包/类
@Name("clingo_control_solve") 
protected native boolean clingo_control_solve(@Ptr long control, int mode, @Ptr long assumptions, @Ptr long assumptions_size, @Ptr long notify$, @Ptr long data, @Ptr long handle);
 
开发者ID:lorislab,项目名称:clingo4j,代码行数:3,代码来源:ClingoLibrary.java

示例13: clingo_symbol_create_number

import org.bridj.ann.Ptr; //导入依赖的package包/类
@Name("clingo_symbol_create_number") 
protected native void clingo_symbol_create_number(int number, @Ptr long symbol);
 
开发者ID:lorislab,项目名称:clingo4j,代码行数:3,代码来源:ClingoLibrary.java

示例14: clingo_control_has_const

import org.bridj.ann.Ptr; //导入依赖的package包/类
@Name("clingo_control_has_const") 
protected native boolean clingo_control_has_const(@Ptr long control, @Ptr long name, @Ptr long exists);
 
开发者ID:lorislab,项目名称:clingo4j,代码行数:3,代码来源:ClingoLibrary.java

示例15: __iplLoadFinalizedScene

import org.bridj.ann.Ptr; //导入依赖的package包/类
protected native static int __iplLoadFinalizedScene(IPLContext context,
IPLSimulationSettings simulationSettings,
@Ptr long fileName, @Ptr long computeDevice,
@Ptr long progressCallback, @Ptr long scene);
 
开发者ID:justjanne,项目名称:SteamAudio-Java,代码行数:5,代码来源:SteamAudioBridge.java


注:本文中的org.bridj.ann.Ptr类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。