MCPcopy Create free account
hub / github.com/java-native-access/jna / createConstant

Method createConstant

src/com/sun/jna/Pointer.java:54–56  ·  view source on GitHub ↗

Convenience constant, equivalent to (void )CONSTANT .

(long peer)

Source from the content-addressed store, hash-verified

52
53 /** Convenience constant, equivalent to <code>(void*)CONSTANT</code>. */
54 public static final Pointer createConstant(long peer) {
55 return new Opaque(peer);
56 }
57
58 /** Convenience constant, equivalent to <code>(void*)CONSTANT</code>.
59 This version will avoid setting any of the high bits on 64-bit

Callers 15

getAllWindowsMethod · 0.95
ddeCallbackMethod · 0.95
CertStoreProviderNameMethod · 0.95
WinCryptInterface · 0.95
User32Interface · 0.95
WinBaseInterface · 0.95
WinGDIInterface · 0.95
HKLMethod · 0.95
toPointerMethod · 0.95
toPointerMethod · 0.95
toPointerMethod · 0.95

Calls

no outgoing calls

Tested by 5

testOpaquePointerMethod · 0.76
testBoundsCheckingMethod · 0.76